Mostly implement cross-module constant inlining, but disable it

There are some test failures
This commit is contained in:
Jarred Sumner
2023-04-15 05:17:12 -07:00
parent b687c3ab88
commit df88b998d6
7 changed files with 172 additions and 70 deletions

View File

@@ -53,6 +53,11 @@ pub const BuildCommand = struct {
this_bundler.resolver.opts.react_server_components = ctx.bundler_options.react_server_components;
this_bundler.options.code_splitting = ctx.bundler_options.code_splitting;
this_bundler.resolver.opts.code_splitting = ctx.bundler_options.code_splitting;
this_bundler.options.minify_syntax = ctx.bundler_options.minify_syntax;
this_bundler.resolver.opts.minify_whitespace = ctx.bundler_options.minify_whitespace;
this_bundler.options.minify_whitespace = ctx.bundler_options.minify_whitespace;
this_bundler.resolver.opts.minify_whitespace = ctx.bundler_options.minify_whitespace;
this_bundler.configureLinker();