ng-classify-loader
v0.0.3
Published
this is a webpack loader to preprocess coffeescript written with ng-classify syntax.
Downloads
3
Readme
ng-classify-loader
this is a webpack loader to preprocess coffeescript written with ng-classify syntax.
Usage
use as a loader BEFORE coffe-loader
module: {
loaders: [
test: /\.coffee/,
loaders: [
"coffee-loader",
"ng-classify-loader"
]
]
}
ng-classify options
this loader reads the ngClassify option in your webpack.config file:
webpack.config.js:
ngClassify: {
appName: 'myApp'
controller: {format: 'upperCamelCase', suffix: 'Ctrl'}
factory: {format: 'lowerCase'}
service: {format: 'lowerCase'}
}