Licence
ISC
Version
0.7.3
Deps
26
Size
269 kB
Vulns
7
Weekly
0
DeprecatedThis package is deprecated
node-build
Tools for building client-side assets. Builds es6
npm install --save @easypost/node-build
Building
- Add
"build": "ep-node-build"to your npm scripts - Add
"watch": "ep-node-build --watch"to your npm scripts too - Add
"lint": "ep-node-build lint"to your npm scripts for maximum points. You can run it with--fixtoo.
Run npm run build or npm run watch respectively.
Customizing
This will automatically load and merge any ${CWD}/webpack.config.js you happen to be using.
If you need further customization, create a node-build.js file, which exports a function that
takes webpack config and returns webpack config (see ./examples/node-build.js for a template.)