Skip to content

Commit

Permalink
fixed isomorphic related issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Katz authored and Michael Katz committed Nov 8, 2018
1 parent d65f307 commit 2afc559
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions demo.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"outDir": "lib",
"sourceMap": true,
"noImplicitAny": true,
"module": "es2015",
"module": "commonjs",
"moduleResolution": "node",
"target": "ES5",
"baseUrl": "src/",
Expand Down
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
demo: "./demo.ts"
},
output: {
globalObject: 'this',
filename: "[name].js",
path: `${__dirname}/dist`,
libraryTarget: "umd",
Expand Down

0 comments on commit 2afc559

Please sign in to comment.