Closed xyzdata closed 7 years ago
Uncaught ReferenceError: webpackJsonp is not defined
???
开发使用npm run dev
吧,start命令行暂时没有用
"scripts": {
"dev": "dora --plugins \"webpack?config=conf/webpack.config.js&publicPath=/,webpack-hmr,browser-history?index=/src/index.html\"",
"build-dev": "atool-build --config conf/webpack.config.js --publicPath /",
"build-staging": "atool-build --config conf/webpack.config.staging.js --publicPath /",
"build-release": "atool-build --config conf/webpack.config.release.js --publicPath /",
"start": "dora --plugins \"proxy,webpack,webpack-hmr\"",
"lint": "eslint --fix --ext .js,.jsx src/components/layout"
},
Please, adding a feature that can auto open default browser on
http://localhost:8000/
, instead of just print some info on the console, just like react-create-app / ng2 CLI did!
just using the following npm script to replace the old one.
"start": "dora --plugins \"proxy,webpack,webpack-hmr\"",
"start": "start http://localhost:8000 && npm run dev",
npm-run-all & concurrently
rootCA.key