1
0
mirror of synced 2026-03-22 18:48:34 +08:00

build: es产物不要合并文件,保证能够tree-shaking

This commit is contained in:
roymondchen
2026-03-18 19:19:29 +08:00
parent 92bd5cf942
commit 88e6c7d377
17 changed files with 54 additions and 32 deletions

View File

@@ -2,13 +2,14 @@
"version": "1.7.7",
"name": "@tmagic/core",
"type": "module",
"sideEffects": false,
"main": "dist/tmagic-core.umd.cjs",
"module": "dist/tmagic-core.js",
"module": "dist/es/index.js",
"types": "types/index.d.ts",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/tmagic-core.js",
"import": "./dist/es/index.js",
"require": "./dist/tmagic-core.umd.cjs"
},
"./resetcss.css": {