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
Type
/
to 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
JavaScriptExample
/
webpack
Public
forked from
webpack/webpack
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
webpack
lib
Chunk.js
on
webpack-2
User selector
All users
All time
Commit history
Commits on Mar 2, 2017
Update variable declarations according to ES6
barinali
committed
a941499
View commit details
Copy full SHA for a941499
View code at this point
Browse repository at this point
Commits on Feb 14, 2017
fix inner loop of "remove" method
Show description for f4d8c5f
timse
committed
f4d8c5f
View commit details
Copy full SHA for f4d8c5f
View code at this point
Browse repository at this point
remove "removeAndDo" and make usage inline and explicit
timse
committed
4438ac9
View commit details
Copy full SHA for 4438ac9
View code at this point
Browse repository at this point
fixup integratedSize to reflect original functionality
timse
committed
9e60f2c
View commit details
Copy full SHA for 9e60f2c
View code at this point
Browse repository at this point
rename other to otherChunk
timse
committed
7305593
View commit details
Copy full SHA for 7305593
View code at this point
Browse repository at this point
make clearer what "parents" are
timse
committed
f062f49
View commit details
Copy full SHA for f062f49
View code at this point
Browse repository at this point
more readable variables
timse
committed
3b4eb0f
View commit details
Copy full SHA for 3b4eb0f
View code at this point
Browse repository at this point
simplify size calculation
Show description for 63f0930
timse
committed
63f0930
View commit details
Copy full SHA for 63f0930
View code at this point
Browse repository at this point
make variables more readable
timse
committed
aaee63a
View commit details
Copy full SHA for aaee63a
View code at this point
Browse repository at this point
remove unnecessary passing of "this" argument - done via arrow functions
timse
committed
dd5eb39
View commit details
Copy full SHA for dd5eb39
View code at this point
Browse repository at this point
remove unnecessary iteration if b.chunks is not set
timse
committed
2f58138
View commit details
Copy full SHA for 2f58138
View code at this point
Browse repository at this point
use replaceChunk and replaceParent in "integrate" method
timse
committed
9f27e92
View commit details
Copy full SHA for 9f27e92
View code at this point
Browse repository at this point
add two helper methods `replaceChunk` and `replaceParent`
Show description for 848b5ae
timse
committed
848b5ae
View commit details
Copy full SHA for 848b5ae
View code at this point
Browse repository at this point
use method "moveModule" instead of duplicating it when integrating chunk
timse
committed
5fa6caa
View commit details
Copy full SHA for 5fa6caa
View code at this point
Browse repository at this point
use easier readable variable name in moveModule
timse
committed
fc36ac3
View commit details
Copy full SHA for fc36ac3
View code at this point
Browse repository at this point
transfer add logic for module, block, parent, chunk to prototype
Show description for 779c753
timse
committed
779c753
View commit details
Copy full SHA for 779c753
View code at this point
Browse repository at this point
merge iteration of parent and sub chunks
Show description for 071b504
timse
committed
071b504
View commit details
Copy full SHA for 071b504
View code at this point
Browse repository at this point
use easier to read variable names
timse
committed
f7e9d58
View commit details
Copy full SHA for f7e9d58
View code at this point
Browse repository at this point
not needed as arrow functions keep "this"
timse
committed
14894f0
View commit details
Copy full SHA for 14894f0
View code at this point
Browse repository at this point
the point of the arrow function is to not need a context passed in
timse
committed
e0da9a8
View commit details
Copy full SHA for e0da9a8
View code at this point
Browse repository at this point
no need to add removeAndDo to the context
Show description for 4ea380f
timse
committed
4ea380f
View commit details
Copy full SHA for 4ea380f
View code at this point
Browse repository at this point
Commits on Jan 11, 2017
code linting
sokra
committed
8e69a80
View commit details
Copy full SHA for 8e69a80
View code at this point
Browse repository at this point
Commits on Jan 4, 2017
refactor(Chunk): upgrade to ES6 (#3694)
Show description for a1ffb61
willmendesneto
authored and
TheLarkInn
committed
a1ffb61
View commit details
Copy full SHA for a1ffb61
View code at this point
Browse repository at this point
Commits on Dec 14, 2016
more performance improvements
sokra
committed
f4ab7fc
View commit details
Copy full SHA for f4ab7fc
View code at this point
Browse repository at this point
Commits on Sep 7, 2016
bug fix for agressive merging
sokra
committed
1296c68
View commit details
Copy full SHA for 1296c68
View code at this point
Browse repository at this point
Commits on Jul 17, 2016
new way to handle new ids, reuse old ids
Show description for 1675a5a
sokra
committed
1675a5a
View commit details
Copy full SHA for 1675a5a
View code at this point
Browse repository at this point
Commits on Jul 15, 2016
fixes webpack/extract-text-webpack-plugin#82
Show description for 79eb404
sokra
committed
79eb404
View commit details
Copy full SHA for 79eb404
View code at this point
Browse repository at this point
Commits on Jul 13, 2016
refactoring and aggressive-splitting plugin
sokra
committed
2f618e7
View commit details
Copy full SHA for 2f618e7
View code at this point
Browse repository at this point
Commits on May 5, 2016
move externals into chunk with entry
Show description for 1b459d9
sokra
committed
1b459d9
View commit details
Copy full SHA for 1b459d9
View code at this point
Browse repository at this point
Commits on Apr 10, 2016
cache parent checks, check faster array for contain
sokra
committed
996b6c8
View commit details
Copy full SHA for 996b6c8
View code at this point
Browse repository at this point
Commits on Jul 25, 2015
Merge branch 'master' into webpack-2
Show description for 5bbfbae
sokra
committed
5bbfbae
View commit details
Copy full SHA for 5bbfbae
View code at this point
Browse repository at this point
Commits on Jul 22, 2015
fixed #1239
sokra
committed
ea7fd67
View commit details
Copy full SHA for ea7fd67
View code at this point
Browse repository at this point
Commits on Jul 17, 2015
Merge branch 'master' into webpack-2
Show description for 431a4c7
sokra
committed
431a4c7
View commit details
Copy full SHA for 431a4c7
View code at this point
Browse repository at this point
Commits on Jul 15, 2015
fixed a few linting issues
sokra
committed
5cd6e7d
View commit details
Copy full SHA for 5cd6e7d
View code at this point
Browse repository at this point
rebeautify without spacing after keyword
sokra
committed
f7d799a
View commit details
Copy full SHA for f7d799a
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.