@nod/webpack-config-presets
v2.0.5-0
Published
Reusable and composable webpack presets
Downloads
3
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