升级 rollup 2.64.0
This commit is contained in:
parent
c8004afc33
commit
96a11ffd69
@ -20,7 +20,7 @@
|
|||||||
<li>[新增] tab-item 选项卡组件 closable 属性, 控制当前选项卡 close 支持。</li>
|
<li>[新增] tab-item 选项卡组件 closable 属性, 控制当前选项卡 close 支持。</li>
|
||||||
<li>[修复] button 按钮 disabled 为 true 时, 触发 click 事件。</li>
|
<li>[修复] button 按钮 disabled 为 true 时, 触发 click 事件。</li>
|
||||||
<li>[修复] menu-item 与 sub-menu 组件的 title 属性必填警告。</li>
|
<li>[修复] menu-item 与 sub-menu 组件的 title 属性必填警告。</li>
|
||||||
<li>[升级] vite 2.7.12。</li>
|
<li>[升级] rollup 2.64.0。</li>
|
||||||
<li>[升级] vue 3.2.27。</li>
|
<li>[升级] vue 3.2.27。</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
@ -24,12 +24,12 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vite build --emptyOutDir && npm run build:types",
|
"build": "vite build --emptyOutDir && npm run build:types",
|
||||||
|
"build:es": "es use",
|
||||||
|
"build:umd": "umd use",
|
||||||
"build:types": "rimraf types && tsc -d",
|
"build:types": "rimraf types && tsc -d",
|
||||||
"build:example": "vite build example",
|
"build:example": "vite build example",
|
||||||
"lint:eslint": "eslint 'src/**/*.{vue,ts,tsx}' --fix",
|
"lint:eslint": "eslint 'src/**/*.{vue,ts,tsx}' --fix",
|
||||||
"lint:prettier": "prettier --write 'src/**/*'",
|
"lint:prettier": "prettier --write 'src/**/*'"
|
||||||
"commit": "git cz",
|
|
||||||
"prepublishOnly": "npm run build"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@layui/hooks-vue": "^0.1.6",
|
"@layui/hooks-vue": "^0.1.6",
|
||||||
@ -66,7 +66,7 @@
|
|||||||
"prettier": "^2.5.1",
|
"prettier": "^2.5.1",
|
||||||
"prismjs": "^1.25.0",
|
"prismjs": "^1.25.0",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"rollup": "^2.61.0",
|
"rollup": "^2.64.0",
|
||||||
"typescript": "^4.5.2",
|
"typescript": "^4.5.2",
|
||||||
"vite": "2.7.12",
|
"vite": "2.7.12",
|
||||||
"vite-plugin-md": "^0.11.6"
|
"vite-plugin-md": "^0.11.6"
|
||||||
|
@ -30,11 +30,12 @@ export default defineConfig({
|
|||||||
assetFileNames: 'index.css',
|
assetFileNames: 'index.css',
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
// @ts-ignore
|
||||||
babel({
|
babel({
|
||||||
exclude: 'node_modules/**',
|
exclude: 'node_modules/**',
|
||||||
extensions: ['.js', '.jsx', '.ts', '.tsx', '.vue'],
|
extensions: ['.js', '.jsx', '.ts', '.tsx', '.vue'],
|
||||||
presets: ['@babel/preset-env', '@babel/preset-typescript'],
|
presets: ['@babel/preset-env', '@babel/preset-typescript'],
|
||||||
}),
|
})
|
||||||
],
|
],
|
||||||
external: ['vue', 'vue-router'],
|
external: ['vue', 'vue-router'],
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user