-
Notifications
You must be signed in to change notification settings - Fork 1
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是什么? #47
Comments
为什么“__dirname”返回“/”? |
假语村言
|
使用(CLI)
|
一次优化路程原来情况
|
Yigo 1.6打包压缩流程并没有选用webpack作为Yigo1.6的打包工具,因为:
如果使用 Intro
|
webpack-dev-serverpublicPath: 路由,类似express中的static |
loader与plugin的区别
Loaders do the pre-processing transformation of virtually any file format when you use sth like require("my-loader!./my-awesome-module") in your code. Compared to plugins, they are quite simple as they
Plugins on the other hand can deeply integrate into webpack because they can register hooks within webpacks build system and access (and modify) the compiler, and how it works, as well as the compilation. Therefore, they are more powerful, but also harder to maintain.
The text was updated successfully, but these errors were encountered: