ionic-logging-service icon indicating copy to clipboard operation
ionic-logging-service copied to clipboard

Import ECMA substitute

Open Remonell opened this issue 4 years ago • 0 comments

Hi, when I start my PWA with 'ionic serve' I get the following warning in the browser console:

node_modules\ionic-logging-service\fesm2015\ionic-logging-service.js depends on 'log4javascript'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

I read that you have to import it with a ECMA friendly substitute or just disable the warning for that package. Can you somehow provide an ECMA friendly substitute to your package?

Kind regards

Remonell avatar Sep 20 '21 19:09 Remonell