You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a barrel file exports both a TS type and a function, the build fails with an error about the type. Commenting out the export for the type makes the build succeed.
export{DummyType,testFunc}from'./dummy'// fails// export {/*DummyType,*/ testFunc} from './dummy' // works
System Info
rs build 1.0.8
Details
When a barrel file exports both a TS type and a function, the build fails with an error about the type. Commenting out the export for the type makes the build succeed.
Reproduce link
https://github.com/andreme/rsbuild-barrel-file-error
Reproduce Steps
Run
pnpm build
Error:
The text was updated successfully, but these errors were encountered: