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