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
FunctionModuleTemplatePlugin.js
on
master
User selector
All users
All time
Commit history
Commits on May 29, 2018
Add brackets for multiline if/for statements
ooflorent
committed
2a9452e
View commit details
Copy full SHA for 2a9452e
View code at this point
Browse repository at this point
Commits on Mar 22, 2018
Destructure 'require' to improve readability
ooflorent
committed
3983803
View commit details
Copy full SHA for 3983803
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 Jan 23, 2018
Use for-of loops instead of forEach
ooflorent
committed
d4811b0
View commit details
Copy full SHA for d4811b0
View code at this point
Browse repository at this point
Commits on Dec 14, 2017
Remove some plugin calls
ooflorent
committed
f737b26
View commit details
Copy full SHA for f737b26
View code at this point
Browse repository at this point
Commits on Dec 12, 2017
move providedExports into buildMeta
sokra
committed
c68f224
View commit details
Copy full SHA for c68f224
View code at this point
Browse repository at this point
refactor meta -> buildMeta, add factoryMeta
Show description for ffb977f
sokra
committed
ffb977f
View commit details
Copy full SHA for ffb977f
View code at this point
Browse repository at this point
Commits on Dec 11, 2017
pass runtimeTemplate to DependencyTemplate
Show description for 758a388
sokra
committed
758a388
View commit details
Copy full SHA for 758a388
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 10, 2017
added WebAssembly Proof of Concept
sokra
committed
41a1d60
View commit details
Copy full SHA for 41a1d60
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 Oct 9, 2017
Merge branch 'master' into next
Show description for 5a814c0
sokra
committed
5a814c0
View commit details
Copy full SHA for 5a814c0
View code at this point
Browse repository at this point
generate better comments for no used/provided exports
sokra
committed
13ad8ed
View commit details
Copy full SHA for 13ad8ed
View code at this point
Browse repository at this point
Commits on Aug 8, 2017
move pathinfo comment into Template helper function
Show description for 91bfd45
sokra
committed
91bfd45
View commit details
Copy full SHA for 91bfd45
View code at this point
Browse repository at this point
Commits on May 28, 2017
Merge branch 'next' into bugfix/scope-hoisting
sokra
authored
df7621a
View commit details
Copy full SHA for df7621a
View code at this point
Browse repository at this point
add optimization bailout info
Show description for d853956
sokra
committed
d853956
View commit details
Copy full SHA for d853956
View code at this point
Browse repository at this point
Commits on May 23, 2017
change description when no static exports found
marzelin
committed
08615a2
View commit details
Copy full SHA for 08615a2
View code at this point
Browse repository at this point
Commits on Feb 22, 2017
replace let with const
sokra
authored
0fd1ddd
View commit details
Copy full SHA for 0fd1ddd
View code at this point
Browse repository at this point
Commits on Feb 21, 2017
refactor(es6): FunctionModuleTemplatePlugin
sendilkumarn
committed
be614ea
View commit details
Copy full SHA for be614ea
View code at this point
Browse repository at this point
Commits on Jan 15, 2017
remove error for CommonJs/AMD in ESM
Show description for a7a4184
sokra
committed
a7a4184
View commit details
Copy full SHA for a7a4184
View code at this point
Browse repository at this point
Commits on Jan 9, 2017
Bugfix/disable module in harmony (#3755)
Show description for 9380bd4
sokra
authored and
TheLarkInn
committed
9380bd4
View commit details
Copy full SHA for 9380bd4
View code at this point
Browse repository at this point
Commits on Dec 31, 2016
feat(moduletemplate): Wrap function module template wrappers with parens (#3658)
Show description for c7b06ad
TheLarkInn
authored
c7b06ad
View commit details
Copy full SHA for c7b06ad
View code at this point
Browse repository at this point
Commits on Dec 30, 2016
refactor(eslint): Added no-unsed-vars, env specific .eslintrc's for buildin & hot (#3636)
Show description for aa8d01b
TheLarkInn
authored
aa8d01b
View commit details
Copy full SHA for aa8d01b
View code at this point
Browse repository at this point
Commits on Sep 7, 2016
emit more pretty es6 runtime code
sokra
committed
ce76b6e
View commit details
Copy full SHA for ce76b6e
View code at this point
Browse repository at this point
Commits on Sep 5, 2016
track which exported are provided by the modules
Show description for 19eabc7
sokra
committed
19eabc7
View commit details
Copy full SHA for 19eabc7
View code at this point
Browse repository at this point
Commits on Aug 17, 2016
fixes tree shaking for export *
Show description for d7f553c
sokra
committed
d7f553c
View commit details
Copy full SHA for d7f553c
View code at this point
Browse repository at this point
Commits on Jun 9, 2016
Removed `sourcePrefix` option -- fixes https://github.com/webpack/webpack/issues/166#issuecomment-224710378
mnpenner
committed
c867a4f
View commit details
Copy full SHA for c867a4f
View code at this point
Browse repository at this point
Commits on May 6, 2016
test strict mode
Show description for e83e9b8
sokra
committed
e83e9b8
View commit details
Copy full SHA for e83e9b8
View code at this point
Browse repository at this point
Commits on May 5, 2016
keep strict mode even if code is inserted
Show description for b98debb
sokra
committed
b98debb
View commit details
Copy full SHA for b98debb
View code at this point
Browse repository at this point
Commits on Dec 29, 2015
moves stuff from webpack-core to webpack-sources
sokra
committed
ded70ae
View commit details
Copy full SHA for ded70ae
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 May 31, 2015
better criteria for modules without require fn
sokra
committed
1231c17
View commit details
Copy full SHA for 1231c17
View code at this point
Browse repository at this point
Commits on May 27, 2015
Don't provide __webpack_require__ argument to external modules
Jake Riesterer
committed
a287fb1
View commit details
Copy full SHA for a287fb1
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
Previous
Next
You can’t perform that action at this time.