Open ilprima opened 4 years ago
In angular.json
make sure that openvidu-browser is added to allowedCommonJsDependencies
section. Example below
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"your-project": {
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"allowedCommonJsDependencies": [
"linkifyjs",
"openvidu-browser",
"rxjs"
]
}
}
}
}
}
}
Hi, I'm having this warning in the console when running ng serve and build:
videoCall.component.ts depends on 'openvidu-browser'. CommonJS or AMD dependencies can cause optimization bailouts.
I'm using openvidu-browser v 2.15.0
Can this bring to optimization problems?
Ionic Info output: