|
@@ -5,6 +5,7 @@ import createComponents from './components';
|
|
|
import createIcons from './icons';
|
|
|
import createSvgIconsPlugin from './svg-icon';
|
|
|
import createCompression from './compression';
|
|
|
+import createVueSetupExtend from './vue-setup-extend';
|
|
|
import path from 'path';
|
|
|
|
|
|
export default (viteEnv: any, isBuild = false): [] => {
|
|
@@ -16,5 +17,6 @@ export default (viteEnv: any, isBuild = false): [] => {
|
|
|
vitePlusgins.push(createCompression(viteEnv));
|
|
|
vitePlusgins.push(createIcons());
|
|
|
vitePlusgins.push(createSvgIconsPlugin(path, isBuild));
|
|
|
+ vitePlusgins.push(createVueSetupExtend());
|
|
|
return vitePlusgins;
|
|
|
};
|