Merge pull request #9370 from backstage/rugvip/iife

cli: wrap minified code in iife
This commit is contained in:
Ben Lambert
2022-02-05 19:52:35 +01:00
committed by GitHub
2 changed files with 6 additions and 0 deletions
@@ -29,6 +29,7 @@ export const optimization = (
minimizer: [
new ESBuildMinifyPlugin({
target: 'es2019',
format: 'iife',
}),
],
runtimeChunk: 'single',