Closed minocoko closed 6 years ago
When I add
new UnminifiedWebpackPlugin({ postfix: 'all',//specify "nomin" postfix, include: /polyfill.*/, exclude: /test.*/ }),
into new react app path node_modules\react-scripts\config\webpack.config.prod.js then run "yarn build", only two files created.
If you are using create-react-app, your app isn't in the support list of this plugin.
create-react-app
It was not designed for a complete application
new UnminifiedWebpackPlugin({ postfix: 'all',//specify "nomin" postfix, include: /polyfill.*/, exclude: /test.*/ }),
into new react app path node_modules\react-scripts\config\webpack.config.prod.js then run "yarn build", only two files created.