Skip to content

Commit

Permalink
fix: issue with bundling angular builds (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget authored Jan 24, 2023
1 parent 95c1224 commit 487b57b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion output/angular/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"lib": {
"entryFile": "src/index.ts"
},
"assets": ["src/components/**/*.scss"],
"assets": ["src/**/*.scss"],
"allowedNonPeerDependencies": ["@db-ui/foundations"]
}
6 changes: 3 additions & 3 deletions output/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"./icon.scss": {
"sass": "./src/components/icon/icon.scss"
},
"./input.scss": {
"sass": "./src/components/input/input.scss"
},
"./tab.scss": {
"sass": "./src/components/tab/tab.scss"
},
Expand All @@ -42,9 +45,6 @@
"@angular-devkit/build-angular": "~14.2.10",
"ng-packagr": "14.2.2"
},
"files": [
"dist/"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
inject: true
to: ../../output/angular/package.json
after: "exports": {
skip_if: ./<%= name %>.scss
---
"./<%= name %>.scss": {
"sass": "./src/components/<%= name %>/<%= name %>.scss"
},

0 comments on commit 487b57b

Please sign in to comment.