Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
fix(infrastructure): support ssr by removing the reference from window
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Goo committed Jun 28, 2019
1 parent 1d1b42a commit c24414c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/webpack/js-bundle-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class JsBundleFactory {
httpDirAbsolutePath = undefined, // Required for running the demo server
filenamePattern = this.env_.isProd() ? '[name].min.js' : '[name].js',
library,
globalObject = 'this',
},
plugins = [],
tsConfigFilePath = path.resolve(__dirname, '../../tsconfig.json'),
Expand Down Expand Up @@ -97,6 +98,7 @@ class JsBundleFactory {
filename: filenamePattern,
libraryTarget: 'umd',
library,
globalObject,
},
resolve: {extensions},
devtool: 'source-map',
Expand Down

0 comments on commit c24414c

Please sign in to comment.