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
after build the utils.ts file will compiled into both components-a and components-b, in vite it will automatically split utils.ts as a reusable file, this is actually truly expected.
The bundled output components-a.js and components-b.js will both contain code in utils.ts. Splitting is not supported now, we will improve that in webpack/Rspack in the future. See #45.
Version
System: OS: macOS 14.6.1 Browsers: Chrome Canary: 133.0.6917.0 Edge: 131.0.2903.112 npmPackages: @rslib/core: 0.2.0 => 0.2.0
Details
Assuming we have a library package like this:
after build the utils.ts file will compiled into both components-a and components-b, in
vite
it will automatically split utils.ts as a reusable file, this is actually truly expected.Reproduce link
https://codepen.io/Justineo/pen/yLbxxOR
Reproduce Steps
execute
rslib build
The text was updated successfully, but these errors were encountered: