@nod/webpack-config-presets

Reusable and composable webpack presets

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
01Sep 20, 2018Dec 25, 2017Minified + gzip package size for @nod/webpack-config-presets in KB

Readme

@nod/webpack-config-presets

Reusable and composable webpack presets

Installation

npm i -D @nod/webpack-config-presets

Usage

const {
  web, // web safe build without native node modules
  dotEnv, // loads dotenv environment variables
  reducePluginLeft, // drops the first defined plugin useful
} = require('@nod/webpack-config-presets')

const config = {} //...your custom Webpack Config
module.exports = web(dotEnv(reducePluginLeft(yourWebpackConfig))),

Development and additional usage

Please see @nod/nod monorepo

License

Apache 2.0

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.