Skip to content

Commit 69c0ff8

Browse files
committed
更新 package.json 文件:将版本号从 1.0.3 升级到 1.0.4,新增 README.en.md 文件。更新 vite.config.ts 文件,保持 CSS 代码分割配置不变。
1 parent 12c052a commit 69c0ff8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
{
22
"name": "vue-expression-editor",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "A powerful Vue 3 mathematical expression editor component",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",
77
"types": "dist/types/index.d.ts",
8+
"style": "dist/index.css",
89
"files": [
910
"dist",
10-
"README.md"
11+
"README.md",
12+
"README.en.md"
1113
],
1214
"scripts": {
1315
"dev": "vite",

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default defineConfig(({ mode }) => {
1616
].filter(Boolean),
1717
build: {
1818
outDir: isDemo ? 'demo-dist' : 'dist',
19-
cssCodeSplit: true, // 确保 CSS 代码分割
19+
cssCodeSplit: true,
2020
...(isDemo ? {
2121
// 演示页面构建配置
2222
rollupOptions: {

0 commit comments

Comments
 (0)