Skip to content

Commit

Permalink
fix(icons-sprite): rm cjs (#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
SevereCloud authored Dec 5, 2024
1 parent a404452 commit 7f5e128
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/icons-sprite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@
"directory": "packages/icons-sprite"
},
"license": "MIT",
"main": "dist/cjs/index.js",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"typings": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"scripts": {
"build": "concurrently 'yarn:build:*'",
"swc-base": "swc src/ --config-file package.swcrc --strip-leading-paths",
Expand Down

0 comments on commit 7f5e128

Please sign in to comment.