diff --git a/packages/ui-loading-screens/package.json b/packages/ui-loading-screens/package.json index b7f2cc79f..a82693d56 100644 --- a/packages/ui-loading-screens/package.json +++ b/packages/ui-loading-screens/package.json @@ -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", diff --git a/packages/ui-loading-screens/tsdown.config.ts b/packages/ui-loading-screens/tsdown.config.ts deleted file mode 100644 index ddc7e0a79..000000000 --- a/packages/ui-loading-screens/tsdown.config.ts +++ /dev/null @@ -1,33 +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', - }, - loader: { - '.png': 'asset', - '.rev': 'dataurl', - '.riv': 'dataurl', - }, - define: { - 'import.meta.DEV': JSON.stringify(!!env.DEV), - }, - exports: { - devExports: true, - all: true, - }, - fixedExtension: true, - plugins: [ - Vue(), - Raw({ - transform: { - options: { minifyWhitespace: true }, - }, - }), - ], -})