We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d62a07 + 16f324a commit e375789Copy full SHA for e375789
webpack.config.prod.js
@@ -6,7 +6,10 @@ const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
6
module.exports = {
7
mode: 'production',
8
entry: path.resolve(__dirname, 'lib/index'),
9
- externals: { 'styled-components': 'styled-components' },
+ externals: {
10
+ 'styled-components': 'styled-components',
11
+ react: 'react'
12
+ },
13
output: {
14
path: path.resolve(__dirname, 'dist'),
15
filename: 'react-simple-chatbot.js',
0 commit comments