Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/@o3r/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"build:builders": "tsc -b tsconfig.builders.json --pretty && yarn generate-cjs-manifest",
"postbuild": "patch-package-json-main"
},
"main": "./src/public_api.js",
"types": "./src/public_api.d.ts",
"main": "./dist/fesm2022/o3r-core.mjs",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution.
You pointed out a real issue (as ./src/public_api.js and ./src/public_api.d.ts do not exist anymore in the latest ngPackagr build) but I do not think it is the correct way to fix it.
Did you try to just remove the main and types fields instead?

"types": "./dist/types/o3r-core.d.ts",
"peerDependencies": {
"@angular-devkit/architect": ">=0.2100.0 <0.2200.0-0",
"@angular-devkit/core": "^21.0.0",
Expand Down
Loading