ngtools-webpack-keep-decorators
TypeScript icon, indicating that this package has built-in type declarations

1.1.10 • Public • Published

This is temporary version of @ngtools/webpack package that doesn't strip off custom decorators from code. It will be deprecated when https://github.com/angular/angular-cli/issues/2799 is resolved.

Get it from npm:

npm install --save ngtools-webpack-keep-decorators

Change ngtools import:

const ngtools = require('@ngtools/webpack') => const ngtools = require('ngtools-webpack-keep-decorators')

And update your loader:

loaders: ['@ngtools/webpack'] => loaders: ['ngtools-webpack-keep-decorators']

Package Sidebar

Install

npm i ngtools-webpack-keep-decorators

Weekly Downloads

37

Version

1.1.10

License

ISC

Last publish

Collaborators

  • alex.sokolov