File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ const config = {
1616 path : path . resolve ( __dirname , '../public' ) ,
1717 publicPath : DEV ? '/' : '/react-contextmenu/' ,
1818 hashDigestLength : 6 ,
19- sourceMapFilename : 'bundle.js.map'
2019 } ,
2120 resolve : {
2221 modules : [
Original file line number Diff line number Diff line change 3131 "build:es6" : " cross-env BABEL_ENV=es6 babel src --out-dir es6" ,
3232 "build:examples" : " yarn clean:examples && yarn build:dev" ,
3333 "build:dev" : " cross-env BABEL_ENV=es6 webpack --config examples/webpack.config.js --progress --profile" ,
34- "start" : " yarn build:examples && yarn start:server" ,
35- "start:server" : " http-server public -p 3000" ,
34+ "start" : " webpack serve --config examples/webpack.config.js" ,
3635 "prepublishOnly" : " yarn build"
3736 },
3837 "author" : " Vivek Kumar Bansal <contact@vkbansal.me>" ,
8079 "eslint-plugin-testing-library" : " ^5.2.1" ,
8180 "history" : " ~5.3.0" ,
8281 "html-webpack-plugin" : " ~5.5.0" ,
83- "http-server" : " ~14.1.0" ,
8482 "jest" : " ~27.5.1" ,
8583 "mini-css-extract-plugin" : " ^2.6.0" ,
8684 "prop-types" : " ~15.8.1" ,
9088 "rimraf" : " ~3.0.0" ,
9189 "style-loader" : " ~3.3.1" ,
9290 "webpack" : " 5.72.0" ,
93- "webpack-cli" : " ^4.9.2"
91+ "webpack-cli" : " ^4.9.2" ,
92+ "webpack-dev-server" : " ^4.8.1"
9493 },
9594 "jest" : {
9695 "setupFilesAfterEnv" : [
You can’t perform that action at this time.
0 commit comments