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

精读《webpack4.0 升级指南》 #66

Closed
ascoders opened this issue Mar 3, 2018 · 6 comments
Closed

精读《webpack4.0 升级指南》 #66

ascoders opened this issue Mar 3, 2018 · 6 comments

Comments

@ascoders
Copy link
Owner

ascoders commented Mar 3, 2018

最近全网搜遍了 webpack4.0 相关文档,把项目脚手架升级到 webpack4,踩了很多坑。

最后整理出一套 typescript + webpack4.0 比较完整的经验,分享给大家,同时分享一下 v3 升级 v4 要注意的地方。

@DanielWLam
Copy link

期待

@ascoders ascoders mentioned this issue Mar 6, 2018
65 tasks
@ffxiang
Copy link

ffxiang commented Mar 28, 2018

w4 确实比 w3 好用。逐渐踏上 傻瓜配置之路。 不用再去配置各种繁琐的插件,只用传参。

@sunorry
Copy link

sunorry commented Mar 28, 2018

@ascoders 你们的脚手架是开源的吗?我能学习下吗?

@ascoders
Copy link
Owner Author

@sunorry 是开源的,给你传送门:Pri

@LiangRenDev
Copy link

开头的这句话有点没明白,我的理解node api 应该是用来在源代码里面动态使用webpack的功能加入的吧? 不知道我的理解对不对

笔者尝试了 webpack node api,尝试了很久,发现被坑了。文档里只字未提 mode 模式,4.0 环境下 compiler 总是提示没有 mode 的 warning。

@ascoders
Copy link
Owner Author

ascoders commented Aug 8, 2018

@LeonAppDev 是的,现在 webpack4 文档相对成熟了,直接看官方文档吧。

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

5 participants