1
0
mirror of synced 2025-12-13 05:37:55 +08:00

chore: 添加type=module

This commit is contained in:
roymondchen
2022-12-06 19:12:32 +08:00
parent f6dca97442
commit 180252f3f5
17 changed files with 49 additions and 32 deletions

View File

@@ -1,16 +1,17 @@
{
"version": "1.2.0-beta.20",
"name": "@tmagic/core",
"type": "module",
"sideEffects": [
"dist/*"
],
"main": "dist/tmagic-core.umd.js",
"module": "dist/tmagic-core.mjs",
"main": "dist/tmagic-core.umd.cjs",
"module": "dist/tmagic-core.js",
"types": "types/index.d.ts",
"exports": {
".": {
"import": "./dist/tmagic-core.mjs",
"require": "./dist/tmagic-core.umd.js"
"import": "./dist/tmagic-core.js",
"require": "./dist/tmagic-core.umd.cjs"
},
"./dist/style.css": {
"import": "./dist/style.css",