JSPM

npm-auto-install-webpack-plugin

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q21856F
  • License MIT

Auto installing missing dependencies in package.json before webpack compilation step

Package Exports

  • npm-auto-install-webpack-plugin

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (npm-auto-install-webpack-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

npm-auto-install-webpack-plugin Travis CI Quality Coverage Dependencies Gitter

Auto installing missing dependencies in package.json before webpack compilation step

Version

Installation

npm i --save npm-auto-install-webpack-plugin

Usage

// webpack.config.babel.js
import NpmAutoInstallWebpackPlugin from "npm-auto-install-webpack-plugin";

export default {
  plugins: [
    new NpmAutoInstallWebpackPlugin(),
  ],
};

Options

new NpmAutoInstallWebpackPlugin(options)

options.autoInstall

Auto install missing dependencies with npm install command.

  • Default: true

Contributing

devDependency Status

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request