Skip to content

Instantly share code, notes, and snippets.

@jamesmcallister
Last active July 10, 2016 09:19
Show Gist options
  • Save jamesmcallister/3c62b6bd0d6913a378c3d99381107e56 to your computer and use it in GitHub Desktop.
Save jamesmcallister/3c62b6bd0d6913a378c3d99381107e56 to your computer and use it in GitHub Desktop.
npm-install-webpack-plugin
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