Last active
July 10, 2016 09:19
-
-
Save jamesmcallister/3c62b6bd0d6913a378c3d99381107e56 to your computer and use it in GitHub Desktop.
npm-install-webpack-plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install -DE npm-install-webpack-plugin | |
// add the following line to the top | |
var = require('npm-install-webpack-plugin'); | |
// add the following to the plugins object | |
plugins: [ | |
new NpmInstallPlugin(), | |
] | |
// now just import any npm from your js files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment