3df380e2d7 
								
							 
						 
						
							
							
								
								add script external  
							
							... 
							
							
							
							change defaults of ModuleFederationPlugin to var library and script remoteType
allow using empty entry in config 
							
						 
						
							2020-06-04 03:18:07 +02:00  
				
					
						
							
							
								 
						
							
								a66290a15f 
								
							 
						 
						
							
							
								
								add support for async externals  
							
							... 
							
							
							
							add `promise` external
add `import` external (uses import())
add `output.importFunctionName` option to change the `import()` function name
allow for inline external type when using arrays
fix some typings
fix namespace object behavior when using system external and accessing nested property
fix interop behavior for async dynamic modules 
							
						 
						
							2020-05-19 17:25:43 +02:00  
				
					
						
							
							
								 
						
							
								952bc11510 
								
							 
						 
						
							
							
								
								fixes typing in ModuleGraph  
							
							
							
						 
						
							2020-05-12 14:34:26 +02:00  
				
					
						
							
							
								 
						
							
								1e0ad4ccd2 
								
							 
						 
						
							
							
								
								Upgrade to TypeScript 3.9  
							
							
							
						 
						
							2020-05-12 14:34:24 +02:00  
				
					
						
							
							
								 
						
							
								b4993f1ccc 
								
							 
						 
						
							
							
								
								Merge pull request  #10503  from joeldenning/system-esmodule  
							
							... 
							
							
							
							Fix externals interop within SystemLibraryPlugin. 
							
						 
						
							2020-03-10 15:38:38 +01:00  
				
					
						
							
							
								 
						
							
								285529a643 
								
							 
						 
						
							
							
								
								chore: fix typos across the project  
							
							
							
						 
						
							2020-03-10 07:29:46 +05:30  
				
					
						
							
							
								 
						
							
								c94aea82cc 
								
							 
						 
						
							
							
								
								enable export mangling for system.js externals  
							
							... 
							
							
							
							add __esModule flag only when needed 
							
						 
						
							2020-03-05 14:07:55 +01:00  
				
					
						
							
							
								 
						
							
								f1dd328779 
								
							 
						 
						
							
							
								
								refactor library system  
							
							
							
						 
						
							2020-02-26 17:35:52 +01:00  
				
					
						
							
							
								 
						
							
								e5b51235d7 
								
							 
						 
						
							
							
								
								add externalsType option  
							
							... 
							
							
							
							fix a few edge cases in ExternalModule 
							
						 
						
							2020-02-26 17:22:42 +01:00  
				
					
						
							
							
								 
						
							
								6477ca56f8 
								
							 
						 
						
							
							
								
								Split options defaulting in normalization and defaults  
							
							... 
							
							
							
							Apply defaults after plugins are applied to allow plugins to feature their own defaults.
This allows to make preset plugins. 
							
						 
						
							2020-02-17 19:12:54 +01:00  
				
					
						
							
							
								 
						
							
								522d80f33b 
								
							 
						 
						
							
							
								
								allocate less for empty Sets for runtime requirements and file/context/missingDependencies  
							
							
							
						 
						
							2020-01-29 21:46:14 +01:00  
				
					
						
							
							
								 
						
							
								b90f3e14a1 
								
							 
						 
						
							
							
								
								upgrade webpack-sources  
							
							... 
							
							
							
							make source maps and source names context independent
add enhanced-resolve declarations
add types to Module.build
fix tooling for import order to support import renaming
add support for concatenated modules in eval source maps 
							
						 
						
							2019-11-12 08:59:08 +01:00  
				
					
						
							
							
								 
						
							
								ddc3dae0e6 
								
							 
						 
						
							
							
								
								refactor Module.source() and Module.getRuntimeRequirements() into Module.codeGeneration  
							
							... 
							
							
							
							add code generation phase to Compilation
add `output.iife` options to remove iife wrapper
add `experiments.outputModule` which enabled `output.module`
add `output.module` which sets defaults to `output.iife: false`, `output.libraryTarget: "module"`, `output.jsonpScriptType: "module"`, `terserOptions.module: true`
add `output.module` example
improve runtime requirements needed by ConcatenatedModule
add entry inlining, which inlines entry module code into runtime scope (only when safe)
make whole bundle strict when all modules are strict 
							
						 
						
							2019-10-08 23:59:48 +02:00  
				
					
						
							
							
								 
						
							
								b80174a069 
								
							 
						 
						
							
							
								
								Improve backward-compat for various things  
							
							... 
							
							
							
							to enable mini-css-extract-plugin 
							
						 
						
							2019-09-26 22:06:54 +02:00  
				
					
						
							
							
								 
						
							
								1d72a05fed 
								
							 
						 
						
							
							
								
								Merge tag 'v4.36.0' into next  
							
							... 
							
							
							
							4.36.0 
							
						 
						
							2019-07-17 16:02:33 +02:00  
				
					
						
							
							
								 
						
							
								0505e177f1 
								
							 
						 
						
							
							
								
								add more types and fix/remove TODOs  
							
							... 
							
							
							
							change Chunk.files to Set
remove checkContext from IgnorePlugin
remove external flag from ExternalModule 
							
						 
						
							2019-06-14 10:45:56 +02:00  
				
					
						
							
							
								 
						
							
								0c39719729 
								
							 
						 
						
							
							
								
								avoid zero sized modules as they lead to problems  
							
							
							
						 
						
							2019-05-13 12:29:29 +02:00  
				
					
						
							
							
								 
						
							
								b66143f706 
								
							 
						 
						
							
							
								
								Merge tag 'v4.30.0' into next  
							
							... 
							
							
							
							4.30.0 
							
						 
						
							2019-05-09 21:34:28 +02:00  
				
					
						
							
							
								 
						
							
								97d58d31c0 
								
							 
						 
						
							
							
								
								Adding support for output libraryTarget 'system'.  Resolves   #8833 .  
							
							... 
							
							
							
							Tests, prettier
Self review
Add comments to System tests.
Adding typescript definition
Guy Bedford's feedback
Self review
Improving code coverage 
							
						 
						
							2019-03-17 08:46:17 -07:00  
				
					
						
							
							
								 
						
							
								cc34ea42b0 
								
							 
						 
						
							
							
								
								add type argument to Module.size  
							
							... 
							
							
							
							add getSize to Generator 
							
						 
						
							2018-12-05 20:18:59 +01:00  
				
					
						
							
							
								 
						
							
								7c37a6a972 
								
							 
						 
						
							
							
								
								handle runtime requirements  
							
							
							
						 
						
							2018-11-29 16:07:17 +01:00  
				
					
						
							
							
								 
						
							
								318da93ce2 
								
							 
						 
						
							
							
								
								make Raw and ExternalModule serializable  
							
							
							
						 
						
							2018-10-18 16:02:45 +02:00  
				
					
						
							
							
								 
						
							
								518104b3fb 
								
							 
						 
						
							
							
								
								Merge tag 'v4.21.0' into next  
							
							... 
							
							
							
							4.21.0 
							
						 
						
							2018-10-17 20:38:00 +02:00  
				
					
						
							
							
								 
						
							
								7bc5c98171 
								
							 
						 
						
							
							
								
								Merge branch 'master' into marcusdarmstrong-external-module-fix  
							
							
							
						 
						
							2018-10-17 16:13:55 +02:00  
				
					
						
							
							
								 
						
							
								4eab41bd5f 
								
							 
						 
						
							
							
								
								refactor Module.needBuild to be async  
							
							
							
						 
						
							2018-09-27 11:20:54 +02:00  
				
					
						
							
							
								 
						
							
								b624d167a5 
								
							 
						 
						
							
							
								
								Add "amd-require" libraryTarget, resulting in a require() wrapper  
							
							
							
						 
						
							2018-09-26 21:46:16 +03:00  
				
					
						
							
							
								 
						
							
								19d60ba0cd 
								
							 
						 
						
							
							
								
								Merge tag 'v4.19.1' into next  
							
							... 
							
							
							
							4.19.1 
							
						 
						
							2018-09-18 10:13:54 +02:00  
				
					
						
							
							
								 
						
							
								f0271d93c6 
								
							 
						 
						
							
							
								
								fix ExternalModule and test case  
							
							
							
						 
						
							2018-09-18 09:10:14 +02:00  
				
					
						
							
							
								 
						
							
								5b4cbb5ee0 
								
							 
						 
						
							
							
								
								add queues to Compilation  
							
							... 
							
							
							
							remove Semaphore and use AsyncQueue instead
deprecate Module.needRebuild, add Module.needBuild
remove Module.unbuild
add Module.invalidateBuild 
							
						 
						
							2018-09-12 13:17:03 +02:00  
				
					
						
							
							
								 
						
							
								bad9d8a271 
								
							 
						 
						
							
							
								
								move Module.id into ChunkGraph  
							
							... 
							
							
							
							remove disconnect and unseal from Module 
							
						 
						
							2018-08-28 15:08:52 +02:00  
				
					
						
							
							
								 
						
							
								02b15a1b46 
								
							 
						 
						
							
							
								
								pass chunkGraph to updateHash instead of moduleGraph  
							
							... 
							
							
							
							pass chunkGraph to compareModulesById instead of moduleGraph
pass chunkGraph to methods of RuntimeTemplate
use comparators from module at some places 
							
						 
						
							2018-08-28 12:06:53 +02:00  
				
					
						
							
							
								 
						
							
								239ce7fcd9 
								
							 
						 
						
							
							
								
								Use ChunkGraph instead of Compilation in updateHash  
							
							
							
						 
						
							2018-08-24 12:02:42 +02:00  
				
					
						
							
							
								 
						
							
								eb63cf80d6 
								
							 
						 
						
							
							
								
								move built flag into Compilation  
							
							
							
						 
						
							2018-08-22 15:33:16 +02:00  
				
					
						
							
							
								 
						
							
								6d5310fbd6 
								
							 
						 
						
							
							
								
								allow multiple entryModules per chunk  
							
							... 
							
							
							
							allow to specify ChunkGroup to depend on
move entry modules into ChunkGraph 
							
						 
						
							2018-08-15 11:51:16 +02:00  
				
					
						
							
							
								 
						
							
								11e127d162 
								
							 
						 
						
							
							
								
								pass moduleGraph along with multiple methods  
							
							
							
						 
						
							2018-08-02 17:54:42 +02:00  
				
					
						
							
							
								 
						
							
								ec1329a7d4 
								
							 
						 
						
							
							
								
								make libIdent required  
							
							... 
							
							
							
							add types 
							
						 
						
							2018-08-02 16:29:20 +02:00  
				
					
						
							
							
								 
						
							
								4ce109f8c1 
								
							 
						 
						
							
							
								
								change arguments of Generator.generate and Module.source into a object to be easier extensible  
							
							... 
							
							
							
							add JavascriptModulesPlugin.getHooks().shouldRender to decide if a module should be rendered 
							
						 
						
							2018-08-02 16:07:29 +02:00  
				
					
						
							
							
								 
						
							
								f68c1f7ab6 
								
							 
						 
						
							
							
								
								add additional arguments to updateHash  
							
							
							
						 
						
							2018-08-02 16:04:10 +02:00  
				
					
						
							
							
								 
						
							
								367b02a0f0 
								
							 
						 
						
							
							
								
								Use RuntimeTemplate to generate error code  
							
							
							
						 
						
							2018-07-31 09:01:06 +02:00  
				
					
						
							
							
								 
						
							
								cf5f1d723c 
								
							 
						 
						
							
							
								
								format existing code  
							
							
							
						 
						
							2018-07-30 21:29:21 +02:00  
				
					
						
							
							
								 
						
							
								22c4756c9e 
								
							 
						 
						
							
							
								
								add more types to Module  
							
							
							
						 
						
							2018-07-25 12:38:34 +02:00  
				
					
						
							
							
								 
						
							
								bc10939096 
								
							 
						 
						
							
							
								
								add types for Module and subclasses  
							
							... 
							
							
							
							better way to handle "optional" methods 
							
						 
						
							2018-07-25 12:12:17 +02:00  
				
					
						
							
							
								 
						
							
								8614c75f11 
								
							 
						 
						
							
							
								
								run inherit types tool on existing code  
							
							
							
						 
						
							2018-07-21 13:50:18 +02:00  
				
					
						
							
							
								 
						
							
								058a5f4659 
								
							 
						 
						
							
							
								
								Correct ExternalModule's global option ( #6933 )  
							
							
							
						 
						
							2018-04-13 16:40:16 -04:00  
				
					
						
							
							
								 
						
							
								f1092ad516 
								
							 
						 
						
							
							
								
								Update prettier toolchain  
							
							
							
						 
						
							2018-03-26 16:56:10 +02:00  
				
					
						
							
							
								 
						
							
								3983803d30 
								
							 
						 
						
							
							
								
								Destructure 'require' to improve readability  
							
							
							
						 
						
							2018-03-22 12:05:58 +01:00  
				
					
						
							
							
								 
						
							
								5238159d21 
								
							 
						 
						
							
							
								
								run prettier on existing code  
							
							
							
						 
						
							2018-02-25 02:00:20 +01:00  
				
					
						
							
							
								 
						
							
								63b4523a15 
								
							 
						 
						
							
							
								
								Pass 'context' as constructor argument  
							
							
							
						 
						
							2018-01-30 21:40:44 +01:00  
				
					
						
							
							
								 
						
							
								d95f93f8cb 
								
							 
						 
						
							
							
								
								add output.globalObject configuration option  
							
							... 
							
							
							
							remove deprecated atom and electron target
add self libraryTarget
add self external type 
							
						 
						
							2017-12-27 18:46:37 +01:00  
				
					
						
							
							
								 
						
							
								ffb977fed4 
								
							 
						 
						
							
							
								
								refactor meta -> buildMeta, add factoryMeta  
							
							... 
							
							
							
							add compat layer to Module.meta 
							
						 
						
							2017-12-12 16:57:50 +01:00  
				
					
						
							
							
								 
						
							
								77bd911b2d 
								
							 
						 
						
							
							
								
								fix conflict with type in ExternalModule  
							
							
							
						 
						
							2017-11-10 11:51:29 +01:00  
				
					
						
							
							
								 
						
							
								41a1d602e1 
								
							 
						 
						
							
							
								
								added WebAssembly Proof of Concept  
							
							
							
						 
						
							2017-11-10 09:17:11 +01:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								4c2f9e724b 
								
							 
						 
						
							
							
								
								Merge branch 'master' into next  
							
							... 
							
							
							
							# Conflicts:
#	lib/dependencies/HarmonyExportImportedSpecifierDependency.js 
							
						 
						
							2017-10-12 11:28:25 +02:00  
				
					
						
							
							
								 
						
							
								c9bad176fd 
								
							 
						 
						
							
							
								
								Fix   #5806 , TypeError on ExternalModule hash.update  
							
							... 
							
							
							
							undefined must be coerced to `false` 
							
						 
						
							2017-10-11 14:02:46 -05:00  
				
					
						
							
							
								 
						
							
								65dfc15807 
								
							 
						 
						
							
							
								
								Merge branch 'master' into next  
							
							... 
							
							
							
							# Conflicts:
#	test/statsCases/external/expected.txt 
							
						 
						
							2017-09-22 19:52:31 +02:00  
				
					
						
							
							
								 
						
							
								79cf75a8b5 
								
							 
						 
						
							
							
								
								update ExternalModule hash with optional flag  
							
							
							
						 
						
							2017-09-18 14:48:11 +07:00  
				
					
						
							
							
								 
						
							
								47d3b80b2e 
								
							 
						 
						
							
							
								
								add updateHash for ExternalModule  
							
							... 
							
							
							
							otherwise, changing the externalModule’s variable name (request) will not
affect the build hash 
							
						 
						
							2017-09-17 23:29:06 +07:00  
				
					
						
							
							
								 
						
							
								91bfd4559a 
								
							 
						 
						
							
							
								
								move pathinfo comment into Template helper function  
							
							... 
							
							
							
							change toIdentifier to generate less underscores 
							
						 
						
							2017-08-08 09:42:43 +02:00  
				
					
						
							
							
								 
						
							
								8f26f9ebee 
								
							 
						 
						
							
							
								
								implementing review suggestions  
							
							
							
						 
						
							2017-06-08 13:22:58 -07:00  
				
					
						
							
							
								 
						
							
								551c0a1ed9 
								
							 
						 
						
							
							
								
								PR Feedback, adding libIdent to DelegatedModules and ExternalModules, in addition to NormalModules, to support HashedModuleIdsPlugin to while assigning hash based IDs to Modules  
							
							
							
						 
						
							2017-05-17 09:49:09 -07:00  
				
					
						
							
							
								 
						
							
								6afc397b99 
								
							 
						 
						
							
							
								
								perf: use Date.now() instead of new Date().getTime()  
							
							... 
							
							
							
							new Date().getTime() is 2x slower than Date.now(), see https://jsperf.com/new-date-vs-date-now-vs-performance-now/6  
							
						 
						
							2017-05-04 10:19:54 +08:00  
				
					
						
							
							
								 
						
							
								3515fddb53 
								
							 
						 
						
							
							
								
								escape __WEBPACK_EXTERNAL_MODULE_ through Template.toIdentifier  
							
							
							
						 
						
							2017-02-20 19:17:51 +11:00  
				
					
						
							
							
								 
						
							
								6367e312c8 
								
							 
						 
						
							
							
								
								use \n as line break  
							
							
							
						 
						
							2017-02-20 19:15:52 +11:00  
				
					
						
							
							
								 
						
							
								b363611750 
								
							 
						 
						
							
							
								
								add more unit tests for external modules  
							
							
							
						 
						
							2017-02-19 12:11:08 +11:00  
				
					
						
							
							
								 
						
							
								7421d47284 
								
							 
						 
						
							
							
								
								add unit tests for ExternalModule  
							
							
							
						 
						
							2017-02-19 11:55:07 +11:00  
				
					
						
							
							
								 
						
							
								375e7d2399 
								
							 
						 
						
							
							
								
								refactor source method of ExternalModule  
							
							
							
						 
						
							2017-02-19 00:06:23 +11:00  
				
					
						
							
							
								 
						
							
								8c435f58a6 
								
							 
						 
						
							
							
								
								refactor ExternalModule to esnext  
							
							
							
						 
						
							2017-02-18 23:17:16 +11:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								1b459d91f5 
								
							 
						 
						
							
							
								
								move externals into chunk with entry  
							
							... 
							
							
							
							fixes  #2314 
maybe fixes  #2066 
fixes  #2375 
fixes  #1673  
						
							2016-05-05 10:13:50 +02:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								ded70aef28 
								
							 
						 
						
							
							
								
								moves stuff from webpack-core to webpack-sources  
							
							
							
						 
						
							2015-12-29 17:44:55 +01:00  
				
					
						
							
							
								 
						
							
								f7d799adb4 
								
							 
						 
						
							
							
								
								rebeautify without spacing after keyword  
							
							
							
						 
						
							2015-07-16 00:19:23 +02:00  
				
					
						
							
							
								 
						
							
								0a340f2b1a 
								
							 
						 
						
							
							
								
								feat(app): Beautify all lib files  
							
							
							
						 
						
							2015-07-13 01:20:09 +03:00  
				
					
						
							
							
								 
						
							
								5594eab317 
								
							 
						 
						
							
							
								
								feat(app): Improve eslint and jsbeautify  
							
							
							
						 
						
							2015-07-08 15:16:50 +03:00  
				
					
						
							
							
								 
						
							
								cebd3b9722 
								
							 
						 
						
							
							
								
								added linting  
							
							
							
						 
						
							2015-04-23 23:55:50 +02:00  
				
					
						
							
							
								 
						
							
								e044598a98 
								
							 
						 
						
							
							
								
								Update ExternalModule.js for umd2  
							
							
							
						 
						
							2014-07-22 08:10:15 -07:00  
				
					
						
							
							
								 
						
							
								5104661855 
								
							 
						 
						
							
							
								
								optional externals  
							
							... 
							
							
							
							track optional modules
optional externals for UMD and root
fixes  #339  
							
						 
						
							2014-07-03 00:00:06 +02:00  
				
					
						
							
							
								 
						
							
								58424e0824 
								
							 
						 
						
							
							
								
								support "jsonp" in output.libraryTarget  
							
							
							
						 
						
							2014-04-17 08:58:12 +02:00  
				
					
						
							
							
								 
						
							
								9e6b6deea4 
								
							 
						 
						
							
							
								
								support arrays and [name] in output.library  
							
							... 
							
							
							
							fixes  #221  
						
							2014-04-05 18:10:47 +02:00  
				
					
						
							
							
								 
						
							
								973d81d871 
								
							 
						 
						
							
							
								
								more options for externals  
							
							
							
						 
						
							2014-03-05 19:55:53 +01:00  
				
					
						
							
							
								 
						
							
								a7f9340885 
								
							 
						 
						
							
							
								
								added externals option  
							
							
							
						 
						
							2014-03-05 09:58:51 +01:00