Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于markdown-it-vue/dist/markdown-it-vue-light.umd.min.js引用后打包文件太大的问题 #85

Open
weimengdexiaolaohu-8 opened this issue Apr 7, 2023 · 1 comment

Comments

@weimengdexiaolaohu-8
Copy link

在项目中引用import markdownItVueLight from 'markdown-it-vue/dist/markdown-it-vue-light.umd.min.js'后打包并应用webpack分包策略后单个js文件还是很大,导致被公司内部上传静态资源校验规则(每个资源文件不得超过1M)拦截,无法部署,请问是否有其他解决方式!!

@ravenq
Copy link
Owner

ravenq commented Jul 27, 2024

很大的原因就是引用了很多插件,light 就是去了很多插件的一个分包,如果还是很大,建议直接fork一下,删掉一些插件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants