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.

/netlify-build-plugin-node-modules-lib/

    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