From 26222e3fef477749eca57941133a6600472040db Mon Sep 17 00:00:00 2001 From: Max Romanyuta Date: Fri, 25 Dec 2020 00:30:42 +0200 Subject: [PATCH] Enable minification for sourcemap-register.js (#631) * Enable minification * Update scripts/build.js Co-authored-by: Steven Co-authored-by: Steven --- scripts/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.js b/scripts/build.js index 5ee2fae3..3550bea4 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -62,7 +62,7 @@ async function main() { const { code: sourcemapSupport, assets: sourcemapAssets } = await ncc( require.resolve("source-map-support/register"), - { filename: "sourcemap-register.js", minfiy: true, v8cache: true } + { filename: "sourcemap-register.js", minify, v8cache: true } ); checkUnknownAssets('source-map-support/register', Object.keys(sourcemapAssets));