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 0c9b257 commit b614db9Copy full SHA for b614db9
builders/cordova-build/index.ts
@@ -37,6 +37,10 @@ export class CordovaBuildBuilder implements Builder<CordovaBuildBuilderSchema> {
37
// requirement of Cordova.
38
browserOptions.outputPath = join(cordovaBasePath, normalize('www'));
39
40
+ // Cordova CLI will error if `www` is missing. The Angular CLI deletes it
41
+ // by default. Let's keep it around.
42
+ browserOptions.deleteOutputPath = false;
43
+
44
if (options.cordovaAssets) {
45
const platformWWWPath = join(cordovaBasePath, normalize(`platforms/${options.platform}/platform_www`));
46
0 commit comments