Commit 1932cb3
committed
feat: enable inlineConst by default
1 parent d1f7e79 commit 1932cb3
File tree
195 files changed
+834
-1476
lines changed- crates
- rolldown_common/src/inner_bundler_options/types
- rolldown/tests
- esbuild
- dce
- const_value_inlining_bundle
- cross_module_constant_folding_computed_property_name
- cross_module_constant_folding_number
- cross_module_constant_folding_string
- package_json_side_effects_false_intermediate_files_chain_all
- package_json_side_effects_false_intermediate_files_chain_one
- package_json_side_effects_false_intermediate_files_diamond
- package_json_side_effects_false_intermediate_files_used
- package_json_side_effects_false_keep_bare_import_and_require_es6
- package_json_side_effects_false_keep_named_import_es6
- package_json_side_effects_false_keep_star_import_es6
- default
- bundle_esm_with_nested_var_issue4348
- decorator_printing_cjs
- decorator_printing_esm
- export_forms_common_js
- export_forms_es6
- export_forms_iife
- export_special_name_bundle
- exports_and_module_format_common_js
- forbid_string_export_names_bundle
- hashbang_bundle
- import_re_export_es6_issue149
- inject_import_meta
- mangle_props_import_export_bundled
- many_entry_points
- minified_exports_and_module_format_common_js
- minify_identifiers_import_path_frequency_analysis
- multiple_entry_points_same_name_collision
- require_child_dir_es6
- require_parent_dir_es6
- this_with_es6_syntax
- importstar_ts
- ts_import_star_and_common_js
- ts_import_star_capture
- ts_import_star_common_js_capture
- ts_import_star_common_js_no_capture
- ts_import_star_export_import_star_capture
- ts_import_star_export_import_star_no_capture
- ts_import_star_export_star_as_capture
- ts_import_star_export_star_as_no_capture
- ts_import_star_export_star_capture
- ts_import_star_export_star_no_capture
- ts_import_star_no_capture
- ts_re_export_type_only_file_es6
- importstar
- export_self_and_import_self_common_js
- export_self_and_require_self_common_js
- export_self_as_namespace_common_js
- export_self_as_namespace_es6
- import_default_namespace_combo_issue446
- import_export_self_as_namespace_es6
- import_export_star_ambiguous_warning
- import_of_export_star_of_import
- import_of_export_star
- import_star_and_common_js
- import_star_capture
- import_star_common_js_capture
- import_star_common_js_no_capture
- import_star_export_import_star_capture
- import_star_export_import_star_no_capture
- import_star_export_star_as_capture
- import_star_export_star_as_no_capture
- import_star_export_star_capture
- import_star_export_star_no_capture
- import_star_export_star_omit_ambiguous
- import_star_no_capture
- import_star_of_export_star_as
- namespace_import_missing_es6
- namespace_import_re_export_star_missing_es6
- re_export_namespace_import_missing_es6
- re_export_other_file_export_self_as_namespace_es6
- re_export_other_file_import_export_self_as_namespace_es6
- re_export_star_name_collision_not_ambiguous_import
- re_export_star_name_shadowing_not_ambiguous_re_export
- re_export_star_name_shadowing_not_ambiguous
- loader/with_type_bytes_override_loader
- lower/lower_export_star_as_name_collision
- packagejson
- package_json_import_self_using_import_scoped
- package_json_import_self_using_import
- package_json_main_fields_b
- splitting
- edge_case_issue2793_without_splitting
- splitting_dynamic_and_not_dynamic_es6_into_es6
- splitting_nested_directories
- splitting_side_effects_without_dependencies
- ts
- export_type_issue379
- ts_export_default_type_issue316
- ts_import_equals_undefined_import
- ts_import_vs_local_collision_mixed
- rolldown
- cjs_compat
- basic_commonjs
- esm_require_esm_unused
- esm_require_esm
- issue_7634
- module.exports_export
- basic
- fallback
- optimize_interop_default_with_cjs_bailout
- react-like
- reexport_commonjs
- require_call_expr_unused
- code_splitting
- dynamic_import_and_static_import_one_file
- issue_5276_2
- issue_5276
- errors/missing_export_ts
- function
- advanced_chunks
- include_dependencies_recursively
- split_node_modules
- experimental/strict_execution_order
- exports_chain_indirect_ns
- exports_chain_ns
- exports_chain
- react-like
- top_level_await_syntax
- external
- keep_import_external_order
- splitting_with_external_module
- format/export_proto_namespace
- inline_dynamic_imports/basic
- resolve/extension_alias
- issues
- 2300
- 3746/a
- 4904
- 5482
- 5557
- 5726
- 5870
- 6231
- 7597
- misc
- object_shorthand_property
- preserve_entry_signature
- basic
- exports-only
- issue-4873-2
- issue_5026
- preserve_modules
- issue_4944
- preserve_default_export_instead_of_named_export
- reexport_star
- wrapped_esm
- optimization
- chunk_merging
- dynamic_entry_merged_in_common_chunk2
- dynamic_entry_merged_in_user_defined_entry
- dynamic_import_cjs_same_chunk
- issue_4905
- inline_const/cross_module_boolean
- resolve/hash_tag_as_dir_name
- topics
- chunk_modules_order/basic
- deconflict
- issue_5737
- issue_6586
- issue_same_module_shadowing
- exports
- common_esm_named_named
- entry_esm_named_named
- entry_none_named_named
- generated_code
- symbols_common_chunk
- symbols_ns
- hmr
- accept-outside-circular
- change_accept
- error_recovery/from_rebuild_syntax_error
- export_star
- import_meta_hot_accept
- no-accept-outside-circular
- runtime_correctness
- self-accept-within-circular
- static_import
- preserve_semantic_of_entries_exports
- named_export_in_wrapped_cjs
- named_export_in_wrapped
- tree_shaking
- advanced_barrel_exports2
- advanced_barrel_exports_bailout_dynamic_key
- advanced_barrel_exports
- commonjs
- derived_side_effects_should_have_high_priority
- export_default
- export_star2
- export_star
- issue_4682
- multi-declarator
- pure_annotation
- warnings
- cannot_call_namespace
- invalid_option/unsupported_inline_dynamic_format
- rollup/same-binding
- snapshots
- packages
- rolldown
- src/options
- tests/fixtures
- builtin-plugin/import-glob/vite
- restore-query-extension
- transform
- function/advanced-chunks/test-fn
- output
- hash-filenames/normal
- sourcemap-base-url
- sourcemap/true
- plugin/render-chunk/basic
- topics/preserve-modules
- basic
- src
- cjs-inter-op
- src
- rollup-tests/test
- form
- function
- sourcemaps
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
195 files changed
+834
-1476
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 11 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
| 32 | + | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | | - | |
| 37 | + | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
53 | | - | |
| 52 | + | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
67 | | - | |
| 66 | + | |
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
72 | | - | |
| 71 | + | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
| |||
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
83 | | - | |
| 82 | + | |
84 | 83 | | |
85 | 84 | | |
86 | 85 | | |
| |||
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
95 | | - | |
| 94 | + | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
100 | | - | |
| 99 | + | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
| |||
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
109 | | - | |
110 | 108 | | |
111 | 109 | | |
112 | 110 | | |
113 | 111 | | |
114 | 112 | | |
115 | | - | |
| 113 | + | |
116 | 114 | | |
117 | 115 | | |
118 | 116 | | |
| |||
133 | 131 | | |
134 | 132 | | |
135 | 133 | | |
136 | | - | |
137 | 134 | | |
138 | 135 | | |
139 | 136 | | |
140 | 137 | | |
141 | | - | |
| 138 | + | |
142 | 139 | | |
143 | 140 | | |
144 | 141 | | |
| |||
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 9 | | |
15 | 10 | | |
16 | | - | |
17 | | - | |
| 11 | + | |
| 12 | + | |
18 | 13 | | |
19 | 14 | | |
20 | 15 | | |
| |||
Lines changed: 31 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 9 | | |
15 | 10 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
21 | 16 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
28 | 23 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
37 | 32 | | |
38 | | - | |
39 | | - | |
40 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
41 | 36 | | |
42 | | - | |
43 | | - | |
44 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
45 | 40 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
51 | 46 | | |
52 | 47 | | |
53 | 48 | | |
| |||
110 | 105 | | |
111 | 106 | | |
112 | 107 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | 108 | | |
117 | 109 | | |
118 | 110 | | |
| |||
123 | 115 | | |
124 | 116 | | |
125 | 117 | | |
126 | | - | |
| 118 | + | |
127 | 119 | | |
128 | 120 | | |
129 | 121 | | |
| |||
Lines changed: 15 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 9 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
24 | 19 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
30 | 25 | | |
31 | 26 | | |
32 | 27 | | |
| |||
68 | 63 | | |
69 | 64 | | |
70 | 65 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 66 | | |
75 | 67 | | |
76 | 68 | | |
| |||
81 | 73 | | |
82 | 74 | | |
83 | 75 | | |
84 | | - | |
| 76 | + | |
85 | 77 | | |
86 | 78 | | |
87 | 79 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 9 | | |
14 | | - | |
| 10 | + | |
15 | 11 | | |
16 | 12 | | |
17 | 13 | | |
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 9 | | |
14 | | - | |
| 10 | + | |
15 | 11 | | |
16 | 12 | | |
17 | 13 | | |
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 9 | | |
14 | | - | |
| 10 | + | |
15 | 11 | | |
16 | 12 | | |
17 | 13 | | |
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 9 | | |
14 | | - | |
| 10 | + | |
15 | 11 | | |
16 | 12 | | |
17 | 13 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments