Skip to content

Commit cdf2579

Browse files
jthoms1imhoffd
authored andcommitted
fix(capacitor): use correct web-dir path for react and capacitor (#4029)
1 parent 7acaf39 commit cdf2579

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/ionic/src/lib/integrations/capacitor

packages/ionic/src/lib/integrations/capacitor/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class Integration extends BaseIntegration<ProjectIntegration> {
2929
const options: string[] = [];
3030

3131
if (this.e.project.type === 'react') {
32-
options.push('--web-dir', 'public');
32+
options.push('--web-dir', 'build');
3333
} else if (this.e.project.type === 'vue') {
3434
options.push('--web-dir', 'dist');
3535
}

0 commit comments

Comments
 (0)