webpack2 support?
rowild opened this issue · comments
The samples still show a "loaders" config object, which webpack2 does not accept (according to my error messages...). Does this package support webpack2? Any chance for a working example? Thanks!
I'm using with webpack2 with no issues FWIW [with extractTextPlugin btw]. My setup:
module: {
rules: [
{
test: /\.pug$/,
loader: extractHtml.extract({
loader: ['html-loader', 'pug-html-loader?pretty&exports=false']
})
},
@rowild I have tried rules
and loaders
both work fine, please give a little more information how does your configuration look like?
@willyelm I only used webpack once when I worked along a tutorial form ihatetomatoes. If stuff works with you then please don't bother. Sorry to have wasted your time, but at the moment I discontinue to use webpack.