Skip to content

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

Description

@relizondobarrios

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions