Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
max-lt committed Feb 19, 2024
1 parent 204a323 commit f912602
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: sed -i "s/<BUILD_ID>/$(echo $GITHUB_SHA)/g" src/environments/environment.prod.ts

- name: Build
run: npm run prerender
run: npm run build

# Copy index.html to 404.html to make sure that GitHub Pages will serve the app when a route is not found
- name: Copy index.html to 404.html
Expand Down
16 changes: 0 additions & 16 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,22 +103,6 @@
"options": {
"buildTarget": "app:build"
}
},
"prerender": {
"builder": "@angular-builders/custom-webpack:server",
"options": {
"customWebpackConfig": {
"path": "./webpack/webpack.extra.config.js"
},
"sourceMap": true,
"outputPath": "dist/server",
"tsConfig": "tsconfig.prerender.json",
"main": "prerender.ts",
"optimization": {
"styles": false,
"scripts": true
}
}
}
}
}
Expand Down

0 comments on commit f912602

Please sign in to comment.