How to implement noExternal configuration similar to tsup #433
Unanswered
zhangfisher
asked this question in
Q&A
Replies: 1 comment 2 replies
-
一般来说,autoExternal 已经足够应对大多数场景了,如果你不想打包某个库,可以直接将它放进 peerDep 或者 dep 即可达到目的 https://lib.rsbuild.dev/config/lib/auto-external 现在有遇到 autoExternal 无法满足的场景吗? Generally speaking, autoExternal is enough to handle most scenarios. If you don't want to bundle a library, you can directly put it into peerDep or dep to achieve the purpose https://lib.rsbuild.dev/config/lib/auto-external. Are there any scenarios that autoExternal can't satisfy now? |
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.
-
如何实现类似
tsup
的noExternal
配置,用来将某个外部依赖与库一起打包?在现有的配置中找不到相关的配置,
autoExternal
好象不是干这活的Beta Was this translation helpful? Give feedback.
All reactions