You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm install terser-webpack-plugin@^4 --save-dev
npm i webpack@^4 uglifyjs-webpack-plugin@^2
The text was updated successfully, but these errors were encountered:
dealmakerai
changed the title
Fixes/Change for HMR & node_ENV++: webpack.config.dev.babel.js
Fix/Change - HMR & node_ENV++: webpack.config.dev.babel.js
Nov 10, 2021
#1: webpack.config.dev.babel.js
module.exports = {
/**
* The scripts in entry are combined in order to create our bundle
*/
mode: 'development',
entry: [
'webpack-hot-middleware/client?reload=true',
'babel-regenerator-runtime',
path.resolve(__dirname, 'src')
],
output: {
path: path.resolve(__dirname, 'public'),
filename: 'bundle.js',
publicPath: '/'
},
.....
##2: webpack.config.dev.babel.js
###3: package.json/terminal install
npm install terser-webpack-plugin@^4 --save-dev
npm i webpack@^4 uglifyjs-webpack-plugin@^2
The text was updated successfully, but these errors were encountered: