Skip to content

Commit

Permalink
build: fix dev-app deployment to firebase (#14529)
Browse files Browse the repository at this point in the history
  • Loading branch information
devversion authored and jelbourn committed Dec 18, 2018
1 parent 9e05af3 commit 48b9da3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion firebase.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"hosting": {
"public": "dist/packages/dev-app",
"public": "dist/devapp-deploy",
"rewrites": [
{
"source": "/**/!(*.@(js|ts|html|css|json|svg|png|jpg|jpeg))",
Expand Down
1 change: 1 addition & 0 deletions tools/gulp/tasks/development.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ task('serve:devapp', ['build:devapp'], sequenceTask([':serve:devapp', ':watch:de
task('stage-deploy:devapp', ['build:devapp'], () => {
const deployOutputDir = join(outputDir, 'devapp-deploy');

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

0 comments on commit 48b9da3

Please sign in to comment.