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

【webpack require的处理】 #66

Open
kind-hearted opened this issue Nov 1, 2018 · 0 comments
Open

【webpack require的处理】 #66

kind-hearted opened this issue Nov 1, 2018 · 0 comments

Comments

@kind-hearted
Copy link
Owner

webpack对require语句的处理,webpack是静态的模块打包,如果require方法传递的是一个变量,webpack打包出错,因为webpack本身不会去搜索这个变量的值。

default

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

1 participant