Skip to content

Commit 487b57b

Browse files
authored
fix: issue with bundling angular builds (#247)
1 parent 95c1224 commit 487b57b

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

output/angular/ng-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"lib": {
55
"entryFile": "src/index.ts"
66
},
7-
"assets": ["src/components/**/*.scss"],
7+
"assets": ["src/**/*.scss"],
88
"allowedNonPeerDependencies": ["@db-ui/foundations"]
99
}

output/angular/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
"./icon.scss": {
2626
"sass": "./src/components/icon/icon.scss"
2727
},
28+
"./input.scss": {
29+
"sass": "./src/components/input/input.scss"
30+
},
2831
"./tab.scss": {
2932
"sass": "./src/components/tab/tab.scss"
3033
},
@@ -42,9 +45,6 @@
4245
"@angular-devkit/build-angular": "~14.2.10",
4346
"ng-packagr": "14.2.2"
4447
},
45-
"files": [
46-
"dist/"
47-
],
4848
"publishConfig": {
4949
"registry": "https://registry.npmjs.org/",
5050
"access": "public"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
inject: true
3+
to: ../../output/angular/package.json
4+
after: "exports": {
5+
skip_if: ./<%= name %>.scss
6+
---
7+
"./<%= name %>.scss": {
8+
"sass": "./src/components/<%= name %>/<%= name %>.scss"
9+
},

0 commit comments

Comments
 (0)