Skip to content

bug: Regression- Build output not as expected after stencil-core version V4.27.0 #6227

Open
@katteri-hpe

Description

@katteri-hpe

Prerequisites

Stencil Version

V4.27.1 onwards

Current Behavior

We have updated the stencil/core to the latest 4.29.1 and could see the package.json inside the build output (loader) is missing. The latest version that has package.json is 4.27.0 .

We had to downgrade the package to 4.27.0 to have the expected build output.

Could you please take a look at this and please update the expected and right behavior for this build output? There is regression in our other components when the latest version of stencil/core is used without the package.json in the build output is used.

I have created a sandbox env where the previous version 4.27.0 is used and could see the package.json in the loader after building.

https://github.com/katteri-hpe/sandbox-table - Sandbox env V4.27.0

I have created another branch with the latest version 4.29.1, where you could see there is no package.json in the loader.

https://github.com/katteri-hpe/sandbox-table/tree/newbranch-v4.29.1 - V4.29.1

Expected Behavior

The expected behaviour is the build output having package.json in it.
https://github.com/katteri-hpe/sandbox-table - expected

System Info

Steps to Reproduce

The issue is reproduced in the repo and the branch provided.
Use V4.27.0 - to get the package.json in the build output
Use V27.1.0 (or any higher version) - for the build output without package.json in it.

Code Reproduction URL

https://github.com/katteri-hpe/sandbox-table/tree/newbranch-v4.29.1

Additional Information

No response

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