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

think of webpack | WTW's Frontend #53

Open
white-than-wood opened this issue Jun 4, 2022 · 1 comment
Open

think of webpack | WTW's Frontend #53

white-than-wood opened this issue Jun 4, 2022 · 1 comment

Comments

@white-than-wood
Copy link
Owner

https://white-than-wood.zone/2022/05/23/thinkofwebpack/

webpack配置output 问题1 近期在配置webpack时,发现output -> libraryType: ‘umd’ or output -> library: {type: ‘umd’}打包构建导出的模块无法实行TreeShaking. 介绍 在配置webpack的输出output时,都会遇到输出模块的配置,也就是webpack 4中的libraryTy

@white-than-wood
Copy link
Owner Author

请多多支持!

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

No branches or pull requests

1 participant