fix: include bundle-entry-points by default

This commit is contained in:
Igor Randjelovic
2021-09-07 19:58:12 +02:00
committed by Nathan Walker
parent 8bc4878a81
commit 5ff85bfae9
12 changed files with 53 additions and 29 deletions

View File

@ -88,13 +88,14 @@ export default function (config: Config, env: IWebpackEnv = _env): Config {
// add an alias for vue, since some plugins may try to import it
config.resolve.alias.set('vue', 'nativescript-vue');
config.plugin('DefinePlugin').tap((args) => {
args[0] = merge(args[0], {
__UI_USE_EXTERNAL_RENDERER__: true,
});
// todo: re-visit later, disabling by default now
// config.plugin('DefinePlugin').tap((args) => {
// args[0] = merge(args[0], {
// __UI_USE_EXTERNAL_RENDERER__: true,
// });
return args;
});
// return args;
// });
return config;
}