Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

CommonJS or AMD dependencies can cause optimization bailouts. #72

Open
minomikula opened this issue Jul 5, 2022 · 0 comments
Open

CommonJS or AMD dependencies can cause optimization bailouts. #72

minomikula opened this issue Jul 5, 2022 · 0 comments

Comments

@minomikula
Copy link

Hi,

Description

When compiling with Angular > 10 than I get this warning:

...\node_modules\capacitor-codepush\dist\esm\codePush.js depends on 'code-push/script/acquisition-sdk'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Additional Information

  • capacitor-plugin-code-push version: "capacitor-codepush": "git+ssh://[email protected]/mapiacompany/capacitor-codepush.git#037174d2c00fa1a095f1ed2a445a31ccd70815df",
  • List of installed plugins:
  • Capacitor version: Capacitor CLI: 3.5.1
  • iOS/Android/Windows version: Build on win10
  • Does this reproduce on a debug build or release build?
  • Does this reproduce on a simulator, or only on a physical device?

(The more info the faster we will be able to address it!)

minomikula added a commit to smartcommunitylab/dslab.playgo-mobile that referenced this issue Jul 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant