fix(angular-server): publish only the dist directory to avoid import errors (#24701)

resolves #24605
This commit is contained in:
Liam DeBeasi
2022-02-03 12:21:31 -05:00
committed by GitHub
parent 897ae4a454
commit 2a27befe46
2 changed files with 4 additions and 1 deletions

View File

@ -19,6 +19,9 @@
"bugs": {
"url": "https://github.com/ionic-team/ionic/issues"
},
"publishConfig": {
"directory": "dist"
},
"homepage": "https://ionicframework.com/",
"scripts": {
"prepublishOnly": "npm run build.prod",

View File

@ -2,7 +2,7 @@
"extends": "../../tsconfig",
"compilerOptions": {
"baseUrl": "./packages/angular-server",
"module": "commonjs",
"module": "es2015",
"rootDir": "src",
"outDir": "dist"
},