bug: static state causes Rollup: Missing Export in 3.3.1, compiled ok in 3.3.0 and earlier #4462
Closed
3 tasks done
Labels
Bug: Validated
This PR or Issue is verified to be a bug within Stencil
Prerequisites
Stencil Version
3.3.1 (and 4.0.0.beta)
Current Behavior
After updating 3.31, I suddenly get this build error on a custom component library that compiles in ealier versions :
Rollup: Missing Export 'ScreenTools' is not exported by ./src/components/test/screen-tools/screen-tools.tsx, imported by screen-tools.entry 1: export { ScreenTools as screen_tools } from 'C:/dev/sphere-stencil/src/components/test/screen-tools/screen-tools.tsx'; ^
the component contains a static State
@State() static skin = skins[0];
Expected Behavior
compile ok as before ...
System Info
Steps to Reproduce
try to compile https://github.com/goulu/rollup-bug331
Code Reproduction URL
https://github.com/goulu/rollup-bug331
Additional Information
The text was updated successfully, but these errors were encountered: