We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e1a69 commit 2a99ac0Copy full SHA for 2a99ac0
builders/cordova-build/index.ts
@@ -47,7 +47,9 @@ export class CordovaBuildBuilder implements Builder<CordovaBuildBuilderSchema> {
47
prepareBrowserConfig(options: CordovaBuildBuilderSchema, browserOptions: BrowserBuilderSchema) {
48
const cordovaBasePath = normalize(options.cordovaBasePath ? options.cordovaBasePath : '.');
49
50
- browserOptions.sourceMap = options.sourceMap as any;
+ if (typeof options.sourceMap !== 'undefined') {
51
+ browserOptions.sourceMap = options.sourceMap as any;
52
+ }
53
54
// We always need to output the build to `www` because it is a hard
55
// requirement of Cordova.
0 commit comments