Update to webpack 2
Closed this issue · 3 comments
Lukavyi commented
Please update the readme for webpack 2
scholtzm commented
It's still valid, although nowadays you would probably do something like this in your webpack.config.js
:
const config = {
module: {
rules: [
{
test: /\.js$/,
use: [
{
loader: 'preprocess-loader',
options: {
foo: true,
bar: 'baz'
ppOptions: {
type: 'js'
}
}
}
]
}
]
}
};
DrSensor commented
please add it to README.md
dearrrfish commented
Sorry for non-active maintenance. Added to README. Thank you!