Skip to content

Commit

Permalink
fix(build): adjust destination folders for libs
Browse files Browse the repository at this point in the history
Now all libs build into global `dist` folder due to bug nrwl/nx#2479
  • Loading branch information
gund committed Feb 13, 2020
1 parent 9bd3158 commit 3501a1e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion libs/core/ng-package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "./dist",
"dest": "../../dist/libs/core",
"lib": {
"entryFile": "src/index.ts",
"styleIncludePaths": ["../styles/src/lib"]
Expand Down
2 changes: 1 addition & 1 deletion libs/styles/ng-package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "./dist",
"dest": "../../dist/libs/styles",
"lib": {
"entryFile": "src/index.ts"
},
Expand Down
2 changes: 1 addition & 1 deletion libs/web-components/ng-package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "./dist",
"dest": "../../dist/libs/web-components",
"lib": {
"entryFile": "src/index.ts",
"styleIncludePaths": ["../styles/src/lib"]
Expand Down
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
"baseUrl": ".",
"paths": {
"@spryker-ui/core": [
"libs/core/dist/index.d.ts",
"dist/libs/core/index.d.ts",
"libs/core/src/index.ts"
],
"@spryker-ui/styles": [
"libs/styles/dist/index.d.ts",
"dist/libs/styles/index.d.ts",
"libs/styles/src/index.ts"
],
"@spryker-ui/web-components": [
"libs/web-components/dist/index.d.ts",
"dist/libs/web-components/index.d.ts",
"libs/web-components/src/index.ts"
],
"@spryker-ui/button": [
Expand Down

0 comments on commit 3501a1e

Please sign in to comment.