Skip to content

Commit

Permalink
Merge pull request #156 from ls1intum/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
valentin-boehm authored Feb 26, 2024
2 parents 9b32635 + ed9723b commit cdf4e01
Show file tree
Hide file tree
Showing 7 changed files with 341 additions and 327 deletions.
7 changes: 3 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"prefix": "jhi",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser-esbuild",
"builder": "@angular-devkit/build-angular:application",
"options": {
"allowedCommonJsDependencies": ["sockjs-client", "webstomp-client"],
"outputPath": "build/resources/main/static/",
"index": "src/main/webapp/index.html",
"main": "src/main/webapp/main.ts",
"browser": "src/main/webapp/main.ts",
"polyfills": ["./src/main/webapp/sockjs-client.polyfill", "zone.js"],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
Expand All @@ -43,8 +43,7 @@
"sourceMap": false,
"namedChunks": true,
"extractLicenses": true,
"serviceWorker": true,
"ngswConfigPath": "ngsw-config.json",
"serviceWorker": "ngsw-config.json",
"budgets": [
{
"type": "initial",
Expand Down
2 changes: 1 addition & 1 deletion gradle/profile_dev.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ task webapp(type: NpmTask) {
inputs.dir("src/main/webapp/")
.withPropertyName("webapp-source-dir")
.withPathSensitivity(PathSensitivity.RELATIVE)
outputs.dir("build/resources/main/static/")
outputs.dir("build/resources/main/static/browser/")
.withPropertyName("webapp-build-dir")

dependsOn npmInstall
Expand Down
2 changes: 1 addition & 1 deletion gradle/war.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ bootWar {
}

war {
webAppDirName = "build/resources/main/static/"
webAppDirName = "build/resources/main/static/browser/"
webXml = file("${project.rootDir}/src/main/webapp/WEB-INF/web.xml")
enabled = true
archiveExtension = "war.original"
Expand Down
Loading

0 comments on commit cdf4e01

Please sign in to comment.