From 6ece32c546ca83a5be387d2618ce2967ad65dc81 Mon Sep 17 00:00:00 2001 From: Alexis Svinartchouk Date: Mon, 15 Mar 2021 17:30:46 +0100 Subject: [PATCH] Use moduleIds: 'natural' in webpack config to keep js files in arm64 and x64 mac builds identical Change-type: patch --- webpack.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.ts b/webpack.config.ts index e3a9d6db..48d25f6e 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -129,6 +129,7 @@ function fetchWasm(...where: string[]) { const commonConfig = { mode: 'production', optimization: { + moduleIds: 'natural', minimize: true, minimizer: [ new TerserPlugin({