homepage
https://nowa-webpack.github.io/
articles
usage
images
setup
npm install -r http://registry.npm.taobao.org
in another terminal
if you firstly run this project, please run it at first.
npm run dev:dll
don't forget to modify the file node_modules/rc/index.js
:
// if(!module.parent) {
// console.log(
// JSON.stringify(module.exports(process.argv[2]), false, 2)
// )
// }
then run
npm run dev:renderer
npm run dev:main
npm start
pack app
npm run build
- in mac
npm run pack:mac
- in windows
npm run pack:win
- in linux
npm run pack:linux