Merge pull request #23688 from backstage/rugvip/lazy

cli: add flag to enable experimental webpack lazy compilation
This commit is contained in:
Patrik Oldsberg
2024-03-18 20:42:27 +01:00
committed by GitHub
3 changed files with 33 additions and 25 deletions
+3
View File
@@ -224,6 +224,9 @@ export async function createConfig(
}
: {}),
},
experiments: {
lazyCompilation: yn(process.env.EXPERIMENTAL_LAZY_COMPILATION),
},
plugins,
...(withCache
? {