fix: resolve timi-web from published package instead of local source
Release / release (pull_request) Successful in 33s

This commit is contained in:
Timi
2026-11-06 17:10:26 +08:00
parent accfeb6d82
commit 2ba2bbdcfc
5 changed files with 4 additions and 12 deletions
-4
View File
@@ -7,10 +7,6 @@ import { TDesignResolver } from "unplugin-vue-components/resolvers";
import dts from "vite-plugin-dts";
const alias: Alias[] = [
{
find: /^timi-web\/editor$/,
replacement: resolve(__dirname, "../timi-web/src/editor/index.ts")
},
{
find: /^timi-tdesign-mobile(\/(es|lib))?$/,
replacement: resolve(__dirname, "./src/index.ts")