Skip to content

Commit 5d96cc1

Browse files
authored
fix(svelte): update webpack.config for conditionNames
1 parent 3c3321b commit 5d96cc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/nativescript-starter-svelte/webpack.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module.exports = (env) => {
55

66
// Learn how to customize:
77
// https://docs.nativescript.org/webpack
8+
webpack.mergeWebpack({ resolve: {conditionNames:['svelte','require','node'] }});
89

910
return webpack.resolveConfig();
1011
};

0 commit comments

Comments
 (0)