module.exports
goodmind opened this issue · comments
I have issue with raw-loader
, here is my config:
{
test: /\.pug$/,
loaders: ['raw-loader', 'pug-html-loader']
}
then I require file
let template = require('./templ.pug')
template is a string with module.exports = "..."
but I want raw html
I realize that there is no need in raw-loader