Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Zero-Rock
/
learn-webpack
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Issues
0
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
2 Commits
2 Commits
Folders and files
Name
Name
Last commit message
Last commit date
1-3安装与使用
1-3安装与使用
1-4使用Loader
1-4使用Loader
1-5使用Plugin
1-5使用Plugin
1-6使用DevServer
1-6使用DevServer
2-9多种配置类型
2-9多种配置类型
3-10管理多个单页应用
3-10管理多个单页应用
3-11构建同构应用
3-11构建同构应用
3-12构建Electron应用
3-12构建Electron应用
3-13构建Npm库
3-13构建Npm库
3-14构建离线应用
3-14构建离线应用
3-15搭配NpmScript
3-15搭配NpmScript
3-17通过Node.jsAPI启动Webpack
3-17通过Node.jsAPI启动Webpack
3-18使用WebpackDevMiddleware
3-18使用WebpackDevMiddleware
3-19加载图片file-loader
3-19加载图片file-loader
3-19加载图片url-loader
3-19加载图片url-loader
3-1使用ES6语言
3-1使用ES6语言
3-20加载SVG-raw-loader
3-20加载SVG-raw-loader
3-20加载SVG-svg-inline-loader
3-20加载SVG-svg-inline-loader
3-2使用TypeScript语言
3-2使用TypeScript语言
3-3使用Flow检查器
3-3使用Flow检查器
3-4使用SCSS语言
3-4使用SCSS语言
3-5使用PostCSS
3-5使用PostCSS
3-6使用React框架Babel
3-6使用React框架Babel
3-6使用React框架TypeScript
3-6使用React框架TypeScript
3-7使用Vue框架Babel
3-7使用Vue框架Babel
3-7使用Vue框架TypeScript
3-7使用Vue框架TypeScript
3-8使用Angular2框架
3-8使用Angular2框架
3-9为单页应用生成HTML
3-9为单页应用生成HTML
4-10使用TreeShaking
4-10使用TreeShaking
4-11提取公共代码
4-11提取公共代码
4-12分割代码按需加载
4-12分割代码按需加载
4-12分割代码按需加载ReactRouter
4-12分割代码按需加载ReactRouter
4-13提升代码性能Prepack
4-13提升代码性能Prepack
4-14开启ScopeHoisting
4-14开启ScopeHoisting
4-15输出分析
4-15输出分析
4-16优化总结
4-16优化总结
4-1缩小文件搜索范围
4-1缩小文件搜索范围
4-2使用DllPlugin
4-2使用DllPlugin
4-3使用HappyPack
4-3使用HappyPack
4-4使用ParallelUglifyPlugin
4-4使用ParallelUglifyPlugin
4-5使用自动刷新
4-5使用自动刷新
4-6开启模块热替换
4-6开启模块热替换
4-7区分环境
4-7区分环境
4-8压缩代码-CSS
4-8压缩代码-CSS
4-8压缩代码-ES5
4-8压缩代码-ES5
4-8压缩代码-ES6
4-8压缩代码-ES6
4-9CDN加速
4-9CDN加速
5-1工作原理概括
5-1工作原理概括
5-2输出文件分析
5-2输出文件分析
.eslintignore
.eslintignore
.eslintrc
.eslintrc
.gitignore
.gitignore
getFolders.js
getFolders.js
package.json
package.json
test.plist
test.plist
View all files
About
No description, website, or topics provided.
Activity
Stars
1
star
Watchers
0
watching
Forks
0
forks
Report repository
Releases
Packages
Used by
Contributors
Languages
You can’t perform that action at this time.