diff --git a/angular.json b/angular.json index 68f3ca9..8990a40 100644 --- a/angular.json +++ b/angular.json @@ -129,6 +129,11 @@ "options": { "tsConfig": "projects/ngx-plug-n-play-lib/tsconfig.lib.json", "project": "projects/ngx-plug-n-play-lib/ng-package.json" + }, + "configurations": { + "production": { + "project": "projects/ngx-plug-n-play-lib/ng-package.prod.json" + } } }, "test": { diff --git a/projects/ngx-plug-n-play-lib/ng-package.prod.json b/projects/ngx-plug-n-play-lib/ng-package.prod.json new file mode 100644 index 0000000..f750d34 --- /dev/null +++ b/projects/ngx-plug-n-play-lib/ng-package.prod.json @@ -0,0 +1,7 @@ +{ + "$schema": "../../node_modules/ng-packagr/ng-package.schema.json", + "dest": "../../dist/ngx-plug-n-play-lib", + "lib": { + "entryFile": "src/public-api.ts" + } +}