webpack-node-externals
Advanced tools
Comparing version 1.7.0 to 1.7.1
{ | ||
"name": "webpack-node-externals", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Easily exclude node_modules in Webpack bundle", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -57,4 +57,15 @@ Webpack node modules externals | ||
Read the modules from the `package.json` file instead of the `node_modules` folder. | ||
<br/>Accepts a boolean or a configuration object: | ||
```js | ||
{ | ||
modulesFromFile: true, | ||
/* or */ | ||
modulesFromFile: { | ||
exclude: [/* sections to exclude, i.e 'devDependencies' */], | ||
include: [/* sections to explicitly include, i.e only 'dependencies' */] | ||
} | ||
} | ||
``` | ||
#### Example | ||
## Usage example | ||
```js | ||
@@ -61,0 +72,0 @@ var nodeExternals = require('webpack-node-externals'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10078
133