Skip to content

Commit 17e6151

Browse files
authored
refactor: update to {N}-dev-webpack 0.16.0 (#81)
resolves #77
1 parent 94a56ec commit 17e6151

28 files changed

+50
-1087
lines changed

src/add-ns/_ns-files/__sourceDir__/app/app.module.ngfactory.d.ts

-4
This file was deleted.

src/add-ns/_ns-files/__sourceDir__/main.ns.aot.ts

-7
This file was deleted.

src/add-ns/_ns-files/__sourceDir__/main.ns.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// this import should be first in order to load some required settings (like globals and reflect-metadata)
22
import { platformNativeScriptDynamic } from 'nativescript-angular/platform';
33

4-
import { <%= entryModuleClassName %> } from '<%= entryModuleImportPath %><%= nsext %>';
4+
import { <%= entryModuleClassName %> } from '<%= entryModuleImportPath %>';
55

66
// A traditional NativeScript application starts by initializing global objects, setting up global CSS rules, creating, and navigating to the main page.
77
// Angular applications need to take care of their own initialization: modules, components, directives, routes, DI providers.

src/add-ns/_ns-files/tsconfig.aot.json

-21
This file was deleted.

src/add-ns/_ns-files/tsconfig__nsext__.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"moduleResolution": "node",
66
"baseUrl": "./",
77
"paths": {
8+
"~/*": [
9+
"src/*"
10+
],
811
"*": [
912
"./node_modules/tns-core-modules/*",
1013
"./node_modules/*"
@@ -14,7 +17,6 @@
1417
"exclude": [
1518
"**/*<%= nsext %>.ts",
1619
"**/*.android.ts",
17-
"**/*.ios.ts",
18-
"app/main.aot.ts"
20+
"**/*.ios.ts"
1921
]
20-
}
22+
}

src/add-ns/_webpack-files/webpack.config.js

-266
This file was deleted.

0 commit comments

Comments
 (0)