Add system
output type
#3110
Closed
jamesarosen
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
For now, a workaround is to use |
Beta Was this translation helpful? Give feedback.
0 replies
-
yes system format is widely used in micro-frontend, we may support it in the future, I create a issue to be tracked here #3112 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
WebPack has built-in compatibility with SystemJS. As of May 2023, rspack's
output.library.type
supports many values, but notsystem
.SystemJS, while not standards-track, is widely used, especially in micro-frontend systems like single-spa.
One caveat is that SystemJS imports are context-sensitive, which is why things like systemjs-webpack-interop exist.
If the rspack team would prefer this as a plugin, it would be helpful to have a reference plugin for supporting a new
output.libraryTarget
(oroutput.library.type
).Beta Was this translation helpful? Give feedback.
All reactions