Tobias Koppers
f600ccd264
Merge pull request #6827 from Connormiha/optimize-sort-by-identifier
...
Save identifier module after first getting
2018-03-29 11:00:54 +02:00
Mihail Bodrov
8c11da5219
Save identifier module after first getting
2018-03-23 00:53:26 +03:00
Florent Cailhol
3983803d30
Destructure 'require' to improve readability
2018-03-22 12:05:58 +01:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
Florent Cailhol
63b4523a15
Pass 'context' as constructor argument
2018-01-30 21:40:44 +01:00
Florent Cailhol
d4811b0d37
Use for-of loops instead of forEach
2018-01-23 22:53:18 +01:00
EugeneHlushko
688a641e9b
Feature: Use WebpackMissingModule
2017-12-19 16:31:43 +02:00
Tobias Koppers
ffb977fed4
refactor meta -> buildMeta, add factoryMeta
...
add compat layer to Module.meta
2017-12-12 16:57:50 +01:00
Tobias Koppers
758a388f69
pass runtimeTemplate to DependencyTemplate
...
move outputOptions and requestShortener into runtimeTemplate
2017-12-11 17:59:32 +01:00
Tobias Koppers
41a1d602e1
added WebAssembly Proof of Concept
2017-11-10 09:17:11 +01:00
Tobias Koppers
75f68a2635
fixes linting, remove not needed context arguments
2017-11-08 20:49:41 +01:00
Tobias Koppers
f7c2f8e470
Update code style to arrow functions
2017-11-08 11:56:01 +01:00
Tobias Koppers
0339d4da49
Refactor weird things
...
* Declare used properties in constructor
* Module.(re)building moved into Compilation._(re)buildingModules (Map)
* Make NormalModule.error private
* Move Module.cacheable logic into needRebuild
* More stable implemention of rebuildModule
* addModuleChain waits for Module building finished before returning
* Set built and cacheable flags correctly in Modules
* More portableId into WeakMap
* Add ModuleReason for entrypoints
* cacheable can be true/false/null in Stats
* added Stats module issuerPath
* fixes profile in stats output
2017-11-06 13:16:09 +01:00
Tobias Koppers
91bfd4559a
move pathinfo comment into Template helper function
...
change toIdentifier to generate less underscores
2017-08-08 09:42:43 +02:00
Will Mendes
6993e14b43
refactor(MultiModule): upgrade to ES6
2017-03-10 22:19:33 +11:00
Naoyuki Kanezawa
a22b00e23d
Dynamic entry support ( #3634 )
...
* enable to set a function to entry option
* add tests for entry function
* fix style
* fix identifier and readableIdentifier of MultiModule
* use arrow functions
* use arrow function
* remove incorrect new operators
* fix Validation tests
2017-01-09 01:31:49 -06:00
e-cloud
13322ca35c
add missing constructors for all classes needed
...
As i walk through the source, i've tried to trace the webpack running stack.
Then, i find the missing constructors result in uncleasr stack and create a patch
for them.
2016-05-20 13:39:36 +08:00
Tobias Koppers
ce642eced6
reverted module.e to module.exports
...
because it causes issues with modules that define
exports on the module object
2016-04-21 23:50:40 +02:00
Tobias Koppers
902220a0ea
smaller bundles by using module.e instead of module.exports
...
same for module.loaded and module.id
2016-02-13 13:11:34 +01:00
Tobias Koppers
ded70aef28
moves stuff from webpack-core to webpack-sources
2015-12-29 17:44:55 +01:00
Tobias Koppers
f7d799adb4
rebeautify without spacing after keyword
2015-07-16 00:19:23 +02:00
Avi Haiat
0a340f2b1a
feat(app): Beautify all lib files
2015-07-13 01:20:09 +03:00
Tobias Koppers
a04ffb9283
added (experimental) NamedModulesPlugin
2015-06-27 22:47:51 +02:00
Tobias Koppers
cebd3b9722
added linting
2015-04-23 23:55:50 +02:00
Tobias Koppers
d80cdcefac
Code Quality
2014-06-24 18:53:32 +02:00
Tobias Koppers
0fea43b4cb
rename generated require to __webpack_require__
...
fixes #141
fixes RubenVerborgh/N3.js#18
2014-03-03 14:56:17 +01:00
Tobias Koppers
cabee2778c
multi module now exports the last module
2013-02-01 10:45:19 +01:00
Tobias Koppers
55d1af8109
fix named chunks, added multi entry plugin
2013-01-31 01:44:39 +01:00