@easypost/build

2.6.7 • Public • Published

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, and postcss-loader deps to resolve vulnerabilities

2.6.4

  • Fix copy-webpack-plugin usage
  • Update some npm packages to resolve vulnerabilities

2.6.0

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).

Readme

Keywords

none

Package Sidebar

Install

npm i @easypost/build

Weekly Downloads

1

Version

2.6.7

License

MIT

Unpacked Size

310 kB

Total Files

51

Last publish

Collaborators

  • shelvycodes
  • mwaldt
  • amatthews4851
  • justintime50
  • easypostnpm
  • stephenjwatkins