-
-
Notifications
You must be signed in to change notification settings - Fork 240
Commit 0bd2ba5
refactor: stop exporting NativeScriptModule from platform (#701)
Importing NativeScriptModule from "nativescript-angular/platform" leads to
including @angular/compiler in the bundle when doing AoT compilation
with webpack. Import from "nativescript-angular/nativescript.module"
should be used instead.
BREAKING CHANGE: User applications cannot import NativeScriptModule from
"nativescript-angular/platform" anymore.
Migration:
Before:
```
import { NativeScriptModule } from "nativescript-angular/platform";
```
After
```
import { NativeScriptModule } from
"nativescript-angular/nativescript.module";
```1 parent 9beea98 commit 0bd2ba5
File tree
5 files changed
+7
-6
lines changed- nativescript-angular
- tests/app
- tests
5 files changed
+7
-6
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
36 | - | ||
37 | - | ||
38 | 36 |
| |
39 | 37 |
| |
40 | 38 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | - | ||
2 | + | ||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | - | ||
2 | + | ||
3 | + | ||
3 | 4 |
| |
4 | 5 |
| |
5 | 6 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 | - | ||
5 | + | ||
6 | + | ||
6 | 7 |
| |
7 | 8 |
| |
8 | 9 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | - | ||
1 | + | ||
2 | + | ||
2 | 3 |
| |
3 | 4 |
| |
4 | 5 |
| |
|
0 commit comments