Commit a0fc091
authored
refactor(esm-lib-plugin): manually resolve exports that re star-exported, and improve NodeTargetPlugin for module output (#12476)
refactor: use exports info to calculate entry exports
Manually resolve exports that are star exported.
Improve NodeTargetPlugin support for module output.1 parent 3058658 commit a0fc091
File tree
54 files changed
+945
-1073
lines changed- crates/rspack_plugin_esm_library/src
- packages
- rspack-test-tools/src/case
- rspack/src/builtin-plugin
- tests/rspack-test/esmOutputCases
- basic
- async-modules/__snapshots__
- tree-shaking/__snapshots__
- externals
- aliased/__snapshots__
- externals-aliased/__snapshots__
- interop/type-module/__snapshots__
- preserve-modules
- basic/__snapshots__
- conflict-symbol
- __snapshots__
- src/demo
- re-exports
- cjs-entry/__snapshots__
- deep-re-export-external/__snapshots__
- deep-re-exports-esm-2
- __snapshots__
- deep-re-exports-esm-3
- __snapshots__
- deep-re-exports-esm-4
- __snapshots__
- deep-re-exports-esm/__snapshots__
- deep-re-exports-wrapped
- __snapshots__
- entry-re-exports/__snapshots__
- move-entry
- __snapshots__
- re-export-external/__snapshots__
- re-export-namespaced-external/__snapshots__
- wrapped-esm-entry/__snapshots__
- split-chunks
- export-from-cjs-chunk
- __snapshots__
- move-entry
- __snapshots__
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
54 files changed
+945
-1073
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
| 280 | + | |
279 | 281 | | |
280 | 282 | | |
281 | 283 | | |
| |||
358 | 360 | | |
359 | 361 | | |
360 | 362 | | |
| 363 | + | |
361 | 364 | | |
362 | 365 | | |
363 | 366 | | |
| |||
0 commit comments