refactor: rename plugins

This commit is contained in:
Igor Randjelovic
2020-11-17 17:46:46 +01:00
parent b2ce0402c3
commit e8b9921557
5 changed files with 73 additions and 32 deletions

View File

@ -36,7 +36,7 @@ export default function (env: IWebpackEnv): Config {
});
// add VueLoaderPlugin
config.plugin('vue').use(VueLoaderPlugin);
config.plugin('VueLoaderPlugin').use(VueLoaderPlugin);
// add an alias for vue, since some plugins may try to import it
config.resolve.alias.set('vue', 'nativescript-vue');