Skip to content
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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant