Replies: 1 comment
-
we decide to choose the 3rd way to solve this problem and will ship this in 0.4.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
currently we start deprecating builtins options in favor of builtin plugins, but it brings another problem, how we import builtin plugin
this is simple, we just need to expose builtin plugin from @rspack/core to @rspack/cli, but it makes @rspack/cli coupled with api.
this means you need to install @rspack/core twice, once for @rspack/core and another for @rspack/cli(since @rspack/cli depends on @rspack/core)
this means you need to install @rspack/core and @rspack/cli for simple apps, but this is the most compatible way with webpack, since webpack needs to both install webpack-cli and webpack and when we're compatible with webpack-cli, we may not need to maintain rspack-cli.
15 votes ·
Beta Was this translation helpful? Give feedback.
All reactions