Warning when building in angular 14 project
Gillardo opened this issue · 2 comments
Gillardo commented
This was ok when i was using angular 13 which i believe targets es2018, but since updating i am getting these errors.
Here is my tsconfig
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es2020",
"module": "es2020",
"lib": [
"es2018",
"dom"
],
}
}
commenthol commented
Hi @Gillardo,
As said this project offers both ESM and CJS via package.json exports.
If you think the issue is unrelated to your project setup, please provide a fix via a PR.
Gillardo commented
Sorry but i do not think this is correct. It also states this on the deepmerge github
TehShrike/deepmerge#250
Which as i stated, was one of the errors when using your library