webpack-china / awesome-webpack-cn Goto Github PK
View Code? Open in Web Editor NEW[印记中文](https://docschina.org/) - webpack 优秀中文文章
Home Page: https://webpack.docschina.org/
[印记中文](https://docschina.org/) - webpack 优秀中文文章
Home Page: https://webpack.docschina.org/
里面包含一些常见的知识点,以及误区
webpack 2 与 rollup 的 tree-shaking 的实现都是因为 ES6 module 的静态特性才得以实现。
webpack 2 默认是支持 tree-shaking,但由于现有的 production 环境,不得不使用 babel 语法转换器,在配置 .babelrc 时,跟 webpack 1 还是有所差别。
此项目只是对 webpack tree-shaking 技术的验证实验。
webpack 2 默认是支持 tree-shaking
babel 配置没做特殊处理,是无法实现 tree shaking
transform-es2015-modules-commonjs 插件影响 tree shaking 的实现
通过UglifyJs简单的代码压缩,过滤掉无用 DCE(无用代码消除)
只有es6模块才能使用webpack2做静态依赖解析
https://github.com/davezuko/react-redux-starter-kit
这个是webpack & react中的 bodyno的脚手架,copy过来的,希望能更正下原作者的地址
Webpack模块化runtime解析(8千字长文!!) 个人比较认为比较不错的。能够明白webpack做了什么样的工作而且代码也容易读懂
推荐一篇个人觉得不错的webpack4.x入门学习教程。如果觉得不错,希望可以收录一下,谢谢!
文章地址:https://www.jianshu.com/p/991e1067eee0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.