pipes: Add external source map support to js.Build and Babel

Fixes #8132
This commit is contained in:
Andreas Richter
2021-01-18 04:38:09 -05:00
committed by GitHub
parent 0004a733c8
commit 2c8b5d9165
6 changed files with 138 additions and 4 deletions

View File

@@ -338,6 +338,8 @@ func toBuildOptions(opts Options) (buildOptions api.BuildOptions, err error) {
switch opts.SourceMap {
case "inline":
sourceMap = api.SourceMapInline
case "external":
sourceMap = api.SourceMapExternal
case "":
sourceMap = api.SourceMapNone
default: