0.0.3 • Published 8 years ago

ng-classify-loader v0.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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'}
}