perf(ui): buildless (#215)
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -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 },
|
||||
},
|
||||
}),
|
||||
],
|
||||
})
|
||||
Reference in New Issue
Block a user