Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Build devkit outside of dist folder #4398

Merged
merged 2 commits into from
Jun 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ deploy/ci/travis/temp/
deploy/kubernetes/console/imagelist.txt

.dist/
dist-devkit/
deploy/uaa/tmp/
src/backend/*/vendor/
.v8flags*
Expand Down
6 changes: 3 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"builder": "@angular-builders/custom-webpack:browser",
"options": {
"customWebpackConfig": {
"path": "./dist/devkit/build/main.js"
"path": "./dist-devkit/build/main.js"
},
"indexTransform": "./dist/devkit/build/index.transform.js",
"indexTransform": "./dist-devkit/build/index.transform.js",
"preserveSymlinks": true,
"outputPath": "dist",
"index": "src/frontend/packages/core/src/index.html",
Expand Down Expand Up @@ -99,7 +99,7 @@
"projectType": "library",
"architect": {
"build": {
"builder": "./dist/devkit:stratos-theme",
"builder": "./dist-devkit:stratos-theme",
"options": {
"outputPath": "dist/theme"
}
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/packages/devkit/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Build script for devkit
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ROOT="$( cd "$( dirname "${DIR}" )" && cd ../../.. && pwd )"
DIST=$ROOT/dist/devkit
DIST=$ROOT/dist-devkit

echo $DIST
echo $DIR
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/packages/devkit/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"outDir": "../../../../dist/devkit",
"outDir": "../../../../dist-devkit",
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
Expand Down