rollup-plugin-angular-aot-decorators
v1.0.0
Published
Remove TypeScript decorators when compiling Angular with Ahead-Of-Time compilation
Downloads
1
Maintainers
Readme
rollup-plugin-angular-aot-decorators
Remove TypeScript decorators when compiling Angular with Ahead-Of-Time compilation
Installation
npm install --save-dev rollup-plugin-angular-aot-decorators
Usage
import removeNgDecorators from './rollup-plugin-angular-aot-decorators';
export default {
entry: 'src/main.js',
plugins: [
removeNgDecorators({
include: '**/src/app/**',
sourceMap: true
})
]
}
Options
{
// Include files or directories to check for decorators
include: '**/src/app/**',
// Excluded files or directories to check for decorators
exclude: 'node_modules/**',
// Whether or not to generate an updated source map
sourceMap: false
}
License
MIT