Skip to content

Commit

Permalink
Merge pull request #2 from jantimon/patch-1
Browse files Browse the repository at this point in the history
feat: Add support for server side rendering
  • Loading branch information
paramsinghvc authored Oct 8, 2020
2 parents 2916504 + f4ca190 commit 2e439c7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ const config = {
output: {
filename: "index.js",
path: path.resolve(__dirname, "dist"),
library: 'useRedux',
libraryTarget: 'umd'
library: 'reactAnimeJs',
libraryTarget: 'umd',
globalObject: 'this'
},
plugins: [
new CleanWebpackPlugin()
Expand All @@ -43,4 +44,4 @@ if (process.env.ANALYSE === 'true') {
config.plugins.push(new BundleAnalyzerPlugin());
}

module.exports = config;
module.exports = config;

0 comments on commit 2e439c7

Please sign in to comment.