Installation
npm install -g zante
# or use yarn
yarn global add zante
Init .zanterc.js
with default config:
zante init
Install dependencies:
npm install
# or use yarn
yarn
npm scripts will be inserted into package.json:
"scripts": {
"dev": "cross-env NODE_ENV=development zante start",
"build": "cross-env NODE_ENV=production zante start"
}
Dev
npm run dev
Build
npm run build
That't all you need to start a webpack project!