A webpack loader for mineral
After installing this loader, you will be able to use require()
to read and
parse mineral templates.
module.exports = {
node: {
__dirname: true,
fs: 'empty'
},
module: {
loaders: [
{
test: /\.min$/,
loader: 'mineral-loader'
}
]
}
}