netlify-build-plugin-node-modules-lib

0.1.1 • Public • Published

A Netlify Build Plugin that moves node_modules in a /lib directory, deploys them to production, and redirects requests from node_modules to lib.

Based on an original idea from Lea Verou.

Install

Manually install the plugin:

npm install netlify-build-plugin-node-modules-lib --save-dev
# netlify.toml
[[plugins]]
  package = "netlify-build-plugin-node-modules-lib"

Configuration

The following inputs options are available.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    1
  • 0.1.0
    1
  • 0.0.3
    1
  • 0.0.2
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i netlify-build-plugin-node-modules-lib

Weekly Downloads

5

Version

0.1.1

License

MIT

Unpacked Size

4.72 kB

Total Files

5

Last publish

Collaborators

  • kaelig