Skip to content

Commit dc56fe4

Browse files
migrate to webpack 1.0.1
1 parent af2e149 commit dc56fe4

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

demo-angular/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"nativescript": {
77
"id": "org.nativescript.webworkerdemo",
88
"tns-ios": {
9-
"version": "6.0.0-rc-2019-06-28-105002-01"
9+
"version": "next"
1010
},
1111
"tns-android": {
12-
"version": "6.0.0-rc-2019-06-27-172817-03"
12+
"version": "next"
1313
}
1414
},
1515
"dependencies": {
@@ -26,7 +26,7 @@
2626
"nativescript-theme-core": "~1.0.2",
2727
"reflect-metadata": "~0.1.8",
2828
"rxjs": "^6.3.3",
29-
"tns-core-modules": "rc",
29+
"tns-core-modules": "next",
3030
"zone.js": "^0.8.4"
3131
},
3232
"devDependencies": {
@@ -44,10 +44,10 @@
4444
"mocha-multi": "~1.0.0",
4545
"mochawesome": "~3.1.2",
4646
"nativescript-dev-appium": "next",
47-
"nativescript-dev-webpack": "rc",
47+
"nativescript-dev-webpack": "next",
4848
"nativescript-worker-loader": "next",
4949
"ts-loader": "^5.3.0",
50-
"typescript": "3.4.1"
50+
"typescript": "3.4.5"
5151
},
5252
"scripts": {
5353
"test": "node verify.js",

demo-angular/webpack.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,7 @@ module.exports = env => {
277277
new nsWebpack.GenerateNativeScriptEntryPointsPlugin("bundle"),
278278
// For instructions on how to set up workers with webpack
279279
// check out https://github.com/nativescript/worker-loader
280-
new NativeScriptWorkerPlugin({
281-
plugins: [ngCompilerPlugin]
282-
}),
280+
new NativeScriptWorkerPlugin(),
283281
ngCompilerPlugin,
284282
// Does IPC communication with the {N} CLI to notify events when running in watch mode.
285283
new nsWebpack.WatchStateLoggerPlugin(),

0 commit comments

Comments
 (0)