NativeScript / nativescript-dev-webpack

A package to help with webpacking NativeScript apps.
Apache License 2.0
97 stars 49 forks source link

fix: the Lazy transformer is not crashing the TypeScript program anymore #959

Closed DimitarTachev closed 5 years ago

DimitarTachev commented 5 years ago

Create PropertyAssignment instead of string literal (Identifier) when modifying the NgModule.

It seems that in some cases (e.g. when there is decomposition in another NgModule property), the TypeScipt program is trying to read node.name.kind for each property causing an exception for Identifiers)

PR Checklist

Related to: https://github.com/NativeScript/nativescript-dev-webpack/issues/960

DimitarTachev commented 5 years ago

test

DimitarTachev commented 5 years ago

test package_version#rc