fe-stack 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/vite.config.base.js +1 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fe-stack",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "共享的配置文件集合,用于 Vite、Tailwind、Biome、Prettier 和 TypeScript",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@tailwindcss/vite": "^4.1.18",
|
|
47
|
-
"@types/node": "
|
|
47
|
+
"@types/node": "25.0.3",
|
|
48
48
|
"@vitejs/plugin-vue": "^6.0.3",
|
|
49
49
|
"@vue/tsconfig": "^0.7.0",
|
|
50
50
|
"unplugin-auto-import": "^20.3.0",
|
package/vite.config.base.js
CHANGED
|
@@ -43,14 +43,6 @@ export function createBaseConfig(dirname, options = {}) {
|
|
|
43
43
|
],
|
|
44
44
|
},
|
|
45
45
|
plugins: [],
|
|
46
|
-
worker: {
|
|
47
|
-
format: 'es',
|
|
48
|
-
rollupOptions: {
|
|
49
|
-
output: {
|
|
50
|
-
format: 'es',
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
46
|
};
|
|
55
47
|
|
|
56
48
|
// App mode: 包含 Vue 全家桶
|
|
@@ -75,6 +67,7 @@ export function createBaseConfig(dirname, options = {}) {
|
|
|
75
67
|
// Lib mode: 提供默认配置
|
|
76
68
|
if (mode === 'lib') {
|
|
77
69
|
baseConfig.build = {
|
|
70
|
+
copyPublicDir: false,
|
|
78
71
|
lib: {
|
|
79
72
|
entry: path.resolve(dirname, 'src/index.ts'),
|
|
80
73
|
formats: ['es'],
|