Skip to content

Commit

Permalink
fix(cli): missing exports.types field (#8355)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Nov 6, 2024
1 parent ca7e508 commit 8b4dcce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/rspack-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"license": "MIT",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
Expand Down

2 comments on commit 8b4dcce

@rspack-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Benchmark detail: Open

Name Base (2024-11-06 666d40a) Current Change
10000_big_production-mode + exec 43.6 s ± 959 ms 43.8 s ± 463 ms +0.39 %
10000_development-mode + exec 1.84 s ± 13 ms 1.83 s ± 23 ms -0.24 %
10000_development-mode_hmr + exec 644 ms ± 7.8 ms 644 ms ± 1.5 ms -0.06 %
10000_production-mode + exec 2.41 s ± 30 ms 2.41 s ± 22 ms -0.15 %
arco-pro_development-mode + exec 1.78 s ± 78 ms 1.75 s ± 51 ms -1.78 %
arco-pro_development-mode_hmr + exec 430 ms ± 1.9 ms 430 ms ± 1.4 ms +0.14 %
arco-pro_production-mode + exec 3.17 s ± 65 ms 3.18 s ± 91 ms +0.46 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.26 s ± 80 ms 3.29 s ± 64 ms +0.93 %
threejs_development-mode_10x + exec 1.59 s ± 16 ms 1.59 s ± 21 ms +0.06 %
threejs_development-mode_10x_hmr + exec 775 ms ± 19 ms 775 ms ± 2.8 ms -0.08 %
threejs_production-mode_10x + exec 4.95 s ± 36 ms 4.95 s ± 29 ms +0.07 %

@rspack-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Ran ecosystem CI: Open

suite result
modernjs ❌ failure
_selftest ✅ success
rspress ✅ success
rslib ✅ success
rsbuild ❌ failure
examples ❌ failure
devserver ✅ success

Please sign in to comment.