netlify-build-plugin-node-modules-lib
v0.1.1
Published
Netlify Build Plugin to deploy `node_modules` to production and redirect `node_modules` to `lib`
Downloads
12
Readme
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.