perf(ui): buildless (#215)

This commit is contained in:
藍+85CD
2025-06-19 15:51:14 +08:00
committed by GitHub
parent aa6eb47b25
commit ee6a2650f3
2 changed files with 0 additions and 34 deletions
-5
View File
@@ -20,12 +20,7 @@
"./components/form": "./src/components/Form/index.ts",
"./*": "./*"
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"scripts": {
"dev": "pnpm run build",
"stub": "pnpm run build",
"build": "tsdown",
"typecheck": "vue-tsc --noEmit"
},
"dependencies": {
-29
View File
@@ -1,29 +0,0 @@
import { env } from 'node:process'
import { defineConfig } from 'tsdown'
import Raw from 'unplugin-raw/rolldown'
import Vue from 'unplugin-vue/rolldown'
export default defineConfig({
entry: {
'index': './src/index.ts',
'components/form': './src/components/Form/index.ts',
'components/animations': './src/components/Animations/index.ts',
},
define: {
'import.meta.DEV': JSON.stringify(!!env.DEV),
},
exports: {
devExports: true,
all: true,
},
fixedExtension: true,
plugins: [
Vue(),
Raw({
transform: {
options: { minifyWhitespace: true },
},
}),
],
})