Commit Graph

20 Commits

Author SHA1 Message Date
Sean Larkin a3092c6431 chore(types): add Compiler and Compilation type support 2018-05-14 11:43:18 -07:00
bastimeyer e1930c22a1 Fix LoaderPlugin not resolving recursively 2018-04-17 06:48:15 +02:00
Tobias Koppers 985e6fb001 fix race condition when using loadModule
change Semaphore to continue prefer acquire in the same tick

fixes #6836
fixes #6902
2018-04-12 15:54:35 +02:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Florent Cailhol d4811b0d37 Use for-of loops instead of forEach 2018-01-23 22:53:18 +01:00
Tobias Koppers 5b7645dbb7 bugfix in LoaderPlugin 2017-12-12 22:27:49 +01:00
Florent Cailhol 36c690d37f Use tapable instead of 'plugin' 2017-12-08 14:23:31 +01:00
Tobias Koppers 4c4121b948 fix test and lint issues 2017-11-19 09:06:40 +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
Shubheksha Jalan 14d48beb75 refactor(ES6): upgrade LoaderPlugin to ES6 2017-01-11 23:39:49 +05:30
Beau Roberts 37540b647e Fixes issue #2299 (#2300)
Fixes an issue where multiple calls to loadModule from within a loader
would resolve modules using the context of the *last loaded module*
rather than the module *doing the loading*, which is problematic if the
modules being loaded are in different directories.
2016-04-09 15:33:26 +02: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 d3a7994e35 expose `loc` for every Dependency 2015-05-10 18:31:58 +02:00
Tobias Koppers cebd3b9722 added linting 2015-04-23 23:55:50 +02:00
Tobias Koppers 92f53176a2 use sourceAndMap is available 2015-04-03 12:38:56 +02:00
Tobias Koppers e62e3a2223 fixed race condition for loadModule 2013-10-29 14:14:16 +01:00
Tobias Koppers b362c227b7 Add dependencies when using loadModule 2013-10-29 11:06:28 +01:00
Tobias Koppers 52b40b3798 allow loaders to load modules
fixed templates readable name
2013-10-28 16:21:29 +01:00