malanka-loader
v0.0.1
Published
Malanka webpack loader
Downloads
2
Readme
Malanka loader
Install
npm install malanka-loader --save-dev
Usage
var ComponentsScanner = require('malanka-loader').ComponentsScanner;
module.exports = {
module: {
loaders: [
{
test: /\.hbs$/,
loader: 'malanka'
}
]
},
plugins: [
new ComponentsScanner({
helpers: [
__dirname + '/../../src/helpers/*.js'
],
components: [
__dirname + '/../../src/components/**/*.js'
]
})
]
}