update(dist): Remove rollup and use vite to build lib
* Remove custom tsconfig paths to avoid resolving issues on published package
This commit is contained in:
+1
-5
@@ -25,7 +25,7 @@
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "vue-tsc --noEmit && vite",
|
||||
"build": "vite build && vue-dts-gen \"./src/**/*.{ts,vue}\"",
|
||||
"build": "vite build && vue-tsc --declaration --emitDeclarationOnly",
|
||||
"serve": "vite preview",
|
||||
"prepublishOnly": "pnpm build",
|
||||
"test": "exit 0;",
|
||||
@@ -44,8 +44,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^0.9.0",
|
||||
"@rollup/plugin-commonjs": "^19.0.2",
|
||||
"@rollup/plugin-node-resolve": "^13.0.6",
|
||||
"@rollup/plugin-replace": "^2.4.2",
|
||||
"@types/dagre": "^0.7.46",
|
||||
"@vitejs/plugin-vue": "^1.9.3",
|
||||
@@ -59,13 +57,11 @@
|
||||
"pnpm": "^6.18.0",
|
||||
"postcss-nested": "^5.0.6",
|
||||
"prettier": "^2.4.1",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"typescript": "^4.4.4",
|
||||
"unplugin-auto-import": "^0.4.12",
|
||||
"vite": "^2.6.10",
|
||||
"vite-svg-loader": "^2.2.0",
|
||||
"vue": "^3.2.20",
|
||||
"vue-dts-gen": "^0.3.0",
|
||||
"vue-tsc": "^0.28.7"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user