0.7.0 • Published 5 years ago
ng-annotate-loader v0.7.0
ng-annotate-loader 
Webpack loader to annotate angular applications. Generates a sourcemaps as well.
Installation
npm install --save-dev ng-annotate-loaderUsage:
module: {
loaders: [
{
test: /src.*\.js$/,
use: [{ loader: 'ng-annotate-loader' }],
}
]
}Passing parameters:
{
test: /src.*\.js$/,
use: [
{
loader: 'ng-annotate-loader',
options: {
add: false,
map: false,
}
}
]
}More about ng-annotate parameters
Using ng-annotate plugins:
{
test: /src.*\.js$/,
use: [
{
loader: 'ng-annotate-loader',
options: {
plugin: ['ng-annotate-adf-plugin']
}
}
]
}Using a fork of ng-annotate:
{
test: /src.*\.js$/,
use: [
{
loader: 'ng-annotate-loader',
options: {
ngAnnotate: 'my-ng-annotate-fork'
}
}
]
}Works great with js compilers, babel for example:
{
test: /src.*\.js$/,
use: [
{ loader: 'ng-annotate-loader' },
{ loader: 'babel-loader' },
]
},Contributing
Compiling examples and run acceptance test
Run on the root folder:
npm install
npm test0.7.0
5 years ago
0.6.1
8 years ago
0.6.0
9 years ago
0.5.0
9 years ago
0.2.0
9 years ago
0.1.1
9 years ago
0.1.0
10 years ago
0.0.10
10 years ago
0.0.9-beta2
10 years ago
0.0.9-beta1
10 years ago
0.0.8
10 years ago
0.0.7
10 years ago
0.0.6
10 years ago
0.0.5
10 years ago
0.0.4
10 years ago
0.0.3
10 years ago
0.0.2
11 years ago
0.0.1
11 years ago