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

npm run build:prod command is not including third party code in the sample.extensions.bundle.js #462

Open
relizondobarrios opened this issue Aug 31, 2022 · 0 comments

Comments

@relizondobarrios
Copy link

We are using Sitefinity 13.3 and the Admin App version 13.3.7600. Additionally, we are integrating some third parties into our custom components. These third parties are:

-"@angular/cdk": "11.0.3",
-"@angular/google-maps": "11.0.3",
-"@angular/material": "11.0.3",
-"@angular/material-moment-adapter": "11.0.3",
-"core-js": "3.9.1",
-"cronstrue": "1.113.0",
-"moment": "2.29.1",
-"ngx-color-picker": "11.0.0"

When we run the command npm run build everything works fine, the sample.extensions.bundle.js file includes all the 3rd party code. But if we run npm run build:prod the sample.extensions.bundle.js does not include the third party code and some components stop working.

More information

We are using:

  • nodejs v12.16.0
  • npm v6.13.4
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