Skip to content

Commit

Permalink
fix(infrastructure): fix SSR support for webpack4 update (#956)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Goo committed Jul 1, 2019
1 parent e95ff65 commit 5d3a89d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/webpack.config.js
Expand Up @@ -75,6 +75,7 @@ function getCommonWebpackParams({isCss} = {}) {
path: getAbsolutePath('../build'),
filename: `${filename}${isCss ? '.css' : ''}.js`,
libraryTarget: 'umd',
globalObject: `typeof self !== 'undefined' ? self : this`,
},
resolve: {
extensions: ['.ts', '.tsx', '.js', '.jsx', '.json'],
Expand Down

0 comments on commit 5d3a89d

Please sign in to comment.