-
-
Notifications
You must be signed in to change notification settings - Fork 832
Closed
Labels
Bug: ValidatedThis PR or Issue is verified to be a bug within StencilThis PR or Issue is verified to be a bug within StencilHas WorkaroundThis PR or Issue has a work around detailed within it.This PR or Issue has a work around detailed within it.
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Stencil Version
4.37.0 and newer
Current Behavior
the @stencil/core version was updated in this example app from 4.23.0 to 4.40.0 and it no longer builds (npm run build).
Downgrading to 4.36.3 or older fixes the issue, using 4.37.0 or newer causes the same issue.
The error is
Rollup: Missing Export
@stencil/core/internal/app-globals (2:7): "default" is not exported by "src/global/app.ts", imported by
"@stencil/core/internal/app-globals". 1: import ionicCoreGlobalScript from
'app-icon/example/node_modules/@ionic/co... 2: import
appGlobalScript from 'app-icon/example/src/global/app.ts'; ^ 3:
export const globalScripts = () => { 4: return Promise.all([
Expected Behavior
npm run build command to keep working as in older versions
System Info
Steps to Reproduce
fork https://github.com/capacitor-community/app-icon
run:
npm installnpm run buildcd examplenpm installnpm run build
It will fail to build
downgrade to 4.36.3 or older and see that it builds again
Code Reproduction URL
https://github.com/capacitor-community/app-icon
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Bug: ValidatedThis PR or Issue is verified to be a bug within StencilThis PR or Issue is verified to be a bug within StencilHas WorkaroundThis PR or Issue has a work around detailed within it.This PR or Issue has a work around detailed within it.