-
-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimization warnings in Angular 10 #2001
Comments
HI arkenstan well I resolve that warning adding this in angular.json file ` ` |
ESM builds should be added to correctly fix these warnings. |
Had the same problem Warning: Entry point simplebar-angular contains deep imports "allowedCommonJsDependencies": ["core-js"], Also I kind of remember adding something in the tsconfig.json {
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./public/out-tsc",
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"module": "esnext",
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
"allowSyntheticDefaultImports": true,
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
]
}
} |
Steps to reproduce
On upgrading angular application to Angular 10.0.0 It gives warning for modules and packages that have dependency on commonjs or AMD for optimization bailouts
PSB Log for warnings
System configuration
Module versions
@feathersjs/authentication-client: "^4.5.4"
@feathersjs/feathers: "^4.5.3"
@feathersjs/socketio-client: "^4.5.4"
socket.io-client: "^2.3.0"
NodeJS version:
Node 12
Operating System:
Linux mint 19.3
The text was updated successfully, but these errors were encountered: