We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 292a350 commit 7b1c5e7Copy full SHA for 7b1c5e7
src/add-ns/_webpack-files/webpack.config.js
@@ -222,7 +222,7 @@ module.exports = env => {
222
new NativeScriptWorkerPlugin(),
223
224
new AngularCompilerPlugin({
225
- hostReplacementPaths: [platform, "<%= shortExt %>"],
+ hostReplacementPaths: nsWebpack.getResolver([platform, "<%= shortExt %>"]),
226
entryModule: resolve(appPath, "<%= entryModuleImportPath %>#<%= entryModuleClassName %>"),
227
tsConfigPath: join(__dirname, aot ? "tsconfig.aot.json" : "tsconfig<%= nsext %>.json"),
228
skipCodeGeneration: !aot,
0 commit comments