@easypost/build
v2.6.7
Published
build tools for easypost frontends
Downloads
15
Maintainers
Keywords
Readme
node-build
Tools for generating webpack config to build easypost projects like @easypost/api.
npm install --save @easypost/node-build
Support
This package is meant to build @easypost packages only, and will not accept public issues unless relating to packages under the @easypost NPM namespace.
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--fix
too.
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.)
Changelog
2.6.6
- Undoes previous versions changes because it introduced a breaking change, bumps
mini-css-extract-plugin
to fix a high severity "Regular Expression Denial of Service" vulnerability
2.6.5
- Update
css-loader
,file-loader
, andpostcss-loader
deps to resolve vulnerabilities
2.6.4
- Fix
copy-webpack-plugin
usage - Update some npm packages to resolve vulnerabilities
2.6.0
- Add support for:
- Update most @babel and webpack dependencies to latest and add to peerDeps
2.5.0
- Improve handling of compiling files from node_modules with a better regex.
License
MIT Licensed. See LICENSE file for details. Copyright (c) 2019 Easypost (Simpler Postage, Inc).