You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i build my ionic app i receive this message in my CMD: C:\APP_MOBILE\MUSCOPCI\node_modules@ionic\storage\dist\esm\index.js depends on 'localforage'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
The text was updated successfully, but these errors were encountered:
This is a warning because the package localforage (wich is used by ionic-storage) does not use completely ECMA Script Modules.
localforage is not maintained since last release : Aug 18, 2021 ...
Maybe it's time for ionic team to find a better alternative
localForage/localForage#977 was reverted due to IE11 support breakage.
In the mean time you can re-apply it yourself using patch-package. Doing the modification yourself and running npx patch-package localforage --exclude 'nothing' should produce the following patch: patches/localforage+1.10.0.patch
when i build my ionic app i receive this message in my CMD: C:\APP_MOBILE\MUSCOPCI\node_modules@ionic\storage\dist\esm\index.js depends on 'localforage'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
The text was updated successfully, but these errors were encountered: