@kengic/vue 0.25.4-beta.5 → 0.25.4-beta.7
Sign up to get free protection for your applications and to get access to all the features.
package/dist/kengic-vue.js
CHANGED
@@ -12417,7 +12417,7 @@ const emptyIcon = {
|
|
12417
12417
|
...a.data
|
12418
12418
|
}, r);
|
12419
12419
|
}
|
12420
|
-
}), version = "0.25.4-beta.
|
12420
|
+
}), version = "0.25.4-beta.7";
|
12421
12421
|
import("./aim-outlined.c49e7018.mjs").then(({ default: e }) => addIcon("ant-design:aim-outlined", e));
|
12422
12422
|
import("./audit-outlined.f37f7da2.mjs").then(({ default: e }) => addIcon("ant-design:audit-outlined", e));
|
12423
12423
|
import("./caret-right-filled.bfffd471.mjs").then(({ default: e }) => addIcon("ant-design:caret-right-filled", e));
|
@@ -11,7 +11,7 @@ import windiCSS from 'vite-plugin-windicss';
|
|
11
11
|
import { configCompressPlugin } from './compress';
|
12
12
|
import { configHtmlPlugin } from './html';
|
13
13
|
import { configImageminPlugin } from './imagemin';
|
14
|
-
import { configMockPlugin } from './mock';
|
14
|
+
// import { configMockPlugin } from './mock';
|
15
15
|
import { configPwaConfig } from './pwa';
|
16
16
|
import { configStyleImportPlugin } from './styleImport';
|
17
17
|
import { configSvgIconsPlugin } from './svgSprite';
|
@@ -47,7 +47,7 @@ export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) {
|
|
47
47
|
vitePlugins.push(configSvgIconsPlugin(isBuild));
|
48
48
|
|
49
49
|
// vite-plugin-mock
|
50
|
-
VITE_USE_MOCK && vitePlugins.push(configMockPlugin(isBuild));
|
50
|
+
// VITE_USE_MOCK && vitePlugins.push(configMockPlugin(isBuild));
|
51
51
|
|
52
52
|
// vite-plugin-purge-icons
|
53
53
|
vitePlugins.push(purgeIcons());
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.25.4-beta.
|
3
|
+
"version": "0.25.4-beta.7",
|
4
4
|
"scripts": {
|
5
5
|
"build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
|
6
6
|
"build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
|
@@ -86,7 +86,6 @@
|
|
86
86
|
"vite-plugin-html": "3.2.0",
|
87
87
|
"vite-plugin-imagemin": "0.6.1",
|
88
88
|
"vite-plugin-mkcert": "1.10.1",
|
89
|
-
"vite-plugin-mock": "2.9.6",
|
90
89
|
"vite-plugin-optimize-persist": "0.1.2",
|
91
90
|
"vite-plugin-package-config": "0.1.1",
|
92
91
|
"vite-plugin-purge-icons": "0.8.2",
|
@@ -1,19 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Mock plugin for development and production.
|
3
|
-
* https://github.com/anncwb/vite-plugin-mock
|
4
|
-
*/
|
5
|
-
import { viteMockServe } from 'vite-plugin-mock';
|
6
|
-
|
7
|
-
export function configMockPlugin(isBuild: boolean) {
|
8
|
-
return viteMockServe({
|
9
|
-
ignore: /^\_/,
|
10
|
-
mockPath: 'mock',
|
11
|
-
localEnabled: !isBuild,
|
12
|
-
prodEnabled: isBuild,
|
13
|
-
injectCode: `
|
14
|
-
import { setupProdMockServer } from '../mock/_createProductionServer';
|
15
|
-
|
16
|
-
setupProdMockServer();
|
17
|
-
`,
|
18
|
-
});
|
19
|
-
}
|