Skip to content

Commit 48b9da3

Browse files
devversionjelbourn
authored andcommitted
build: fix dev-app deployment to firebase (#14529)
1 parent 9e05af3 commit 48b9da3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

firebase.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"hosting": {
3-
"public": "dist/packages/dev-app",
3+
"public": "dist/devapp-deploy",
44
"rewrites": [
55
{
66
"source": "/**/!(*.@(js|ts|html|css|json|svg|png|jpg|jpeg))",

tools/gulp/tasks/development.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ task('serve:devapp', ['build:devapp'], sequenceTask([':serve:devapp', ':watch:de
8585
task('stage-deploy:devapp', ['build:devapp'], () => {
8686
const deployOutputDir = join(outputDir, 'devapp-deploy');
8787

88+
copyFiles(outDir, 'index.html', deployOutputDir);
8889
copyFiles(outDir, '**/*.+(css|js|map)', deployOutputDir);
8990
copyFiles(join(projectDir, 'node_modules'), vendorGlob, join(deployOutputDir, 'node_modules'));
9091
copyFiles(bundlesDir, '*.+(js|map)', join(deployOutputDir, 'dist/bundles'));

0 commit comments

Comments
 (0)