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
DefinePlugin.js
on
bugfix/browsertests
User selector
All users
All time
Commit history
Commits on Mar 26, 2018
Update prettier toolchain
ooflorent
committed
f1092ad
View commit details
Copy full SHA for f1092ad
View code at this point
Browse repository at this point
Commits on Feb 26, 2018
spelling: typeof
jsoref
committed
b923fff
View commit details
Copy full SHA for b923fff
View code at this point
Browse repository at this point
Commits on Feb 25, 2018
run prettier on existing code
sokra
committed
5238159
View commit details
Copy full SHA for 5238159
View code at this point
Browse repository at this point
Commits on Dec 21, 2017
Use Parser#hooks instead of Tapable#plugin
ooflorent
committed
9669c9e
View commit details
Copy full SHA for 9669c9e
View code at this point
Browse repository at this point
Commits on Dec 15, 2017
Update Parser helpers to be compatible with hooks
ooflorent
committed
c8e60b4
View commit details
Copy full SHA for c8e60b4
View code at this point
Browse repository at this point
Commits on Dec 14, 2017
Replace NormalModuleFactory#plugin() calls
ooflorent
committed
08ddad2
View commit details
Copy full SHA for 08ddad2
View code at this point
Browse repository at this point
Commits on Dec 13, 2017
remove `__webpack_require__` requirement from some ConstDependencies
Show description for 30c9dd0
sokra
committed
30c9dd0
View commit details
Copy full SHA for 30c9dd0
View code at this point
Browse repository at this point
Commits on Dec 8, 2017
Use tapable instead of 'plugin'
ooflorent
committed
36c690d
View commit details
Copy full SHA for 36c690d
View code at this point
Browse repository at this point
Commits on Nov 11, 2017
advanced module type refactoring
Show description for 00f2b5e
sokra
committed
00f2b5e
View commit details
Copy full SHA for 00f2b5e
View code at this point
Browse repository at this point
Commits on Nov 8, 2017
Update code style to arrow functions
sokra
committed
f7c2f8e
View commit details
Copy full SHA for f7c2f8e
View code at this point
Browse repository at this point
Commits on Jun 2, 2017
Merge branch 'master' into next
sokra
committed
302289c
View commit details
Copy full SHA for 302289c
View code at this point
Browse repository at this point
evaluate some identifiers to truthy values
Show description for 27cc834
sokra
committed
27cc834
View commit details
Copy full SHA for 27cc834
View code at this point
Browse repository at this point
Commits on May 21, 2017
don't use __webpack_require__.i in DefinePlugin
sokra
committed
6b31b4e
View commit details
Copy full SHA for 6b31b4e
View code at this point
Browse repository at this point
Commits on Feb 6, 2017
add some comments to clarify why this is important here
timse
committed
fae5bec
View commit details
Copy full SHA for fae5bec
View code at this point
Browse repository at this point
readd "circuit breaker" for endless recurse calls in Defineplugin
timse
committed
8159e84
View commit details
Copy full SHA for 8159e84
View code at this point
Browse repository at this point
Revert "this is never true, is that intended? @sokra"
Show description for 6e7ad24
timse
committed
6e7ad24
View commit details
Copy full SHA for 6e7ad24
View code at this point
Browse repository at this point
Commits on Feb 5, 2017
this is never true, is that intended? @sokra
timse
committed
c3abf8f
View commit details
Copy full SHA for c3abf8f
View code at this point
Browse repository at this point
Commits on Feb 4, 2017
use const where applicable in DefinePlugin
timse
committed
bb5184b
View commit details
Copy full SHA for bb5184b
View code at this point
Browse repository at this point
Commits on Jan 27, 2017
Merge pull request #3846 from timse/extract-to-parser-helpers-extended
Show description for 1ff8d69
sokra
authored
1ff8d69
View commit details
Copy full SHA for 1ff8d69
View code at this point
Browse repository at this point
Commits on Jan 25, 2017
use __webpack_require__.i to escape brakets
sokra
authored
3b6ef1a
View commit details
Copy full SHA for 3b6ef1a
View code at this point
Browse repository at this point
Commits on Jan 21, 2017
apply split methods to their usages
timse
committed
5240430
View commit details
Copy full SHA for 5240430
View code at this point
Browse repository at this point
add simple returnTrue helper, less function definitions
timse
committed
58e7a2f
View commit details
Copy full SHA for 58e7a2f
View code at this point
Browse repository at this point
move more ConstDependencies to `toConstantDependency`
timse
committed
965b726
View commit details
Copy full SHA for 965b726
View code at this point
Browse repository at this point
Commits on Jan 18, 2017
fix DefinePlugin stringifyObj bug
kagawagao
committed
14e9664
View commit details
Copy full SHA for 14e9664
View code at this point
Browse repository at this point
Commits on Jan 8, 2017
Extract to parser helpers (#3843)
Show description for 86c0020
timse
authored and
TheLarkInn
committed
86c0020
View commit details
Copy full SHA for 86c0020
View code at this point
Browse repository at this point
Commits on Dec 30, 2016
refactor(es6): Update DefinePlugin to es2015 (#3632)
Show description for 7d17746
neeharv
authored and
TheLarkInn
committed
7d17746
View commit details
Copy full SHA for 7d17746
View code at this point
Browse repository at this point
Commits on Sep 14, 2016
refactoring: moved parser instancation into NormalModuleFactory
Show description for ec262a4
sokra
committed
ec262a4
View commit details
Copy full SHA for ec262a4
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
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
Commits on Jul 12, 2015
feat(app): Beautify all lib files
thaiat
committed
0a340f2
View commit details
Copy full SHA for 0a340f2
View code at this point
Browse repository at this point
Commits on Apr 27, 2015
Merge branch 'master' into webpack-2
Show description for f4b9d5f
sokra
committed
f4b9d5f
View commit details
Copy full SHA for f4b9d5f
View code at this point
Browse repository at this point
Commits on Apr 23, 2015
added linting
sokra
committed
cebd3b9
View commit details
Copy full SHA for cebd3b9
View code at this point
Browse repository at this point
Commits on Apr 14, 2015
fixed test cases with updated DefinePlugin
sokra
committed
3092982
View commit details
Copy full SHA for 3092982
View code at this point
Browse repository at this point
Commits on Mar 5, 2015
remove (...) from DefinePlugin.
Show description for 2f3e0ae
sokra
committed
2f3e0ae
View commit details
Copy full SHA for 2f3e0ae
View code at this point
Browse repository at this point
Commits on Feb 27, 2015
better handling of nested vars in Define and Provide
Show description for 3d153ef
sokra
committed
3d153ef
View commit details
Copy full SHA for 3d153ef
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.