Webpack Make Rule 👑
Intended to support your basic use cases.
A simple little helper function for building rule config objects in Webpack 2.
Installation
$ npm install --save-dev webpack-make-rule
Usage
In file webpack.config.babel.js
/* Having installed all of: * - json-loader * - babel-loader * - web3-loader * - solc-loader * - standard-loader */ entry: './src/index.js' output: path: './dist' filename: 'index.js' module: rules:
Documentation
makeRule
Returns a Webpack rule configuration object
Parameters