Skip to content

Commit

Permalink
fix(polyfill): temporarily disable sourcemaps via @swc as it breaks t…
Browse files Browse the repository at this point in the history
…he service
  • Loading branch information
wessberg committed May 18, 2021
1 parent 28b5bb9 commit fd2fead
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/build/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ export async function build({paths, features, featuresRequested, ecmaVersion, co
}

({code, map} = await transform(code, {
sourceMaps: sourcemap ? "inline" : false,
// TODO: Comment this back in when a regression has been resolved
// sourceMaps: sourcemap ? "inline" : false,
inputSourceMap: map,
minify,
filename: virtualOutputFileName,
Expand Down

0 comments on commit fd2fead

Please sign in to comment.