Skip to content

Commit

Permalink
feat: add esm entries so that no jsx transformation required
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Jan 24, 2024
1 parent dba4ce7 commit 92c2e3c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"packageManager": "[email protected]",
"scripts": {
"build": "run-p build:*",
"build:r": "r -e named -f cjs --vue-jsx",
"build:r": "r -e named -f cjs,esm, --vue-jsx",
"build:styles": "lessc --source-map packages/vue-resizor/src/styles.less packages/vue-resizor/lib/styles.css",
"build:ts": "tsc -b",
"clean": "rimraf dist packages/*/{lib,*.tsbuildinfo}",
Expand Down
1 change: 1 addition & 0 deletions packages/vue-qrcode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.esm.mjs",
"require": "./lib/index.cjs",
"default": "./lib/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/vue-qrious/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.esm.mjs",
"require": "./lib/index.cjs",
"default": "./lib/index.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/vue-resizor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.esm.mjs",
"require": "./lib/index.cjs",
"default": "./lib/index.js"
},
Expand Down

0 comments on commit 92c2e3c

Please sign in to comment.