Skip to content

Commit

Permalink
Enable minification for sourcemap-register.js (#631)
Browse files Browse the repository at this point in the history
* Enable minification

* Update scripts/build.js

Co-authored-by: Steven <[email protected]>

Co-authored-by: Steven <[email protected]>
  • Loading branch information
xom9ikk and styfle authored Dec 24, 2020
1 parent 47dfc48 commit 26222e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 26222e3

Please sign in to comment.