编辑器的包太大了,在React中使用怎么将编辑器搞成externals的方式,在运行时再去下载相应的包 #4322
Answered
by
wangfupeng1988
ChenKun1997
asked this question in
Q&A
-
如题,wangEditor的包太大了,我不想将他打包到bundle中,在React中使用怎么将这个WangEditor弄成externals的方式,在运行时再去下载相应的bundle,webpack的externals方式是这样的:https://webpack.docschina.org/configuration/externals/,但是我不知道如何配置 |
Beta Was this translation helpful? Give feedback.
Answered by
wangfupeng1988
Jun 6, 2022
Replies: 1 comment 1 reply
-
这得去查 webpack 的文档 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ChenKun1997
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这得去查 webpack 的文档