Commit d439a494 authored by nanahira's avatar nanahira

fix export path

parent 4255d6c1
......@@ -2,18 +2,9 @@
"name": "satori-tsx",
"description": "TSX support package for Satori element.",
"version": "1.0.7",
"exports": {
".": {
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts"
},
"./jsx-runtime": {
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts"
}
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"scripts": {
"compile:cjs": "esbuild index.ts --outfile=dist/index.cjs --bundle --sourcemap --platform=node --target=es2019 --external:@satorijs/element",
"compile:esm": "esbuild index.ts --outfile=dist/index.mjs --bundle --sourcemap --platform=neutral --target=esnext --external:@satorijs/element",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment