diff --git a/webpack.config.js b/webpack.config.js index fe685ea..539f3eb 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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() @@ -43,4 +44,4 @@ if (process.env.ANALYSE === 'true') { config.plugins.push(new BundleAnalyzerPlugin()); } -module.exports = config; \ No newline at end of file +module.exports = config;