diff --git a/output/angular/ng-package.json b/output/angular/ng-package.json index 999f3eb1d1c..2ddfd128d20 100644 --- a/output/angular/ng-package.json +++ b/output/angular/ng-package.json @@ -4,6 +4,6 @@ "lib": { "entryFile": "src/index.ts" }, - "assets": ["src/components/**/*.scss"], + "assets": ["src/**/*.scss"], "allowedNonPeerDependencies": ["@db-ui/foundations"] } diff --git a/output/angular/package.json b/output/angular/package.json index 2320edc904f..9908e71fed3 100644 --- a/output/angular/package.json +++ b/output/angular/package.json @@ -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" }, @@ -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" diff --git a/packages/components/_templates/mitosis/new/angular-package.ejs.t b/packages/components/_templates/mitosis/new/angular-package.ejs.t new file mode 100644 index 00000000000..b807aeb7418 --- /dev/null +++ b/packages/components/_templates/mitosis/new/angular-package.ejs.t @@ -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" + },