perf(ui-transitions): buildless (#217)

This commit is contained in:
藍+85CD
2025-06-19 16:07:00 +08:00
committed by GitHub
parent 4712d6e91d
commit 4be96e3093
2 changed files with 0 additions and 33 deletions
-5
View File
@@ -19,12 +19,7 @@
"./components": "./src/components/index.ts",
"./*": "./*"
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"scripts": {
"dev": "pnpm run build",
"stub": "pnpm run build",
"build": "tsdown",
"play:dev": "vite",
"play:build": "vite build",
"play:preview": "vite preview",
-28
View File
@@ -1,28 +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: './src/components/index.ts',
},
define: {
'import.meta.DEV': JSON.stringify(!!env.DEV),
},
exports: {
devExports: true,
all: true,
},
fixedExtension: true,
plugins: [
Vue(),
Raw({
transform: {
options: { minifyWhitespace: true },
},
}),
],
})