Skip to content

Commit 7382676

Browse files
author
vakrilov
committed
fix: update webpack config
1 parent dc56fe4 commit 7382676

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

demo-angular/webpack.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,9 @@ 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(),
280+
new NativeScriptWorkerPlugin({
281+
plugins: [ngCompilerPlugin]
282+
}),
281283
ngCompilerPlugin,
282284
// Does IPC communication with the {N} CLI to notify events when running in watch mode.
283285
new nsWebpack.WatchStateLoggerPlugin(),

0 commit comments

Comments
 (0)