0a76fa02d3 
								
							 
						 
						
							
							
								
								fix: types  
							
							
							
						 
						
							2024-08-09 18:42:37 +03:00  
				
					
						
							
							
								 
						
							
								ff9e19809a 
								
							 
						 
						
							
							
								
								fix: types  
							
							
							
						 
						
							2024-08-07 19:14:54 +03:00  
				
					
						
							
							
								 
						
							
								adf2a6b7c6 
								
							 
						 
						
							
							
								
								fix: a lot of types  
							
							
							
						 
						
							2024-08-06 06:08:48 +03:00  
				
					
						
							
							
								 
						
							
								40151be78e 
								
							 
						 
						
							
							
								
								refactor: improve code  
							
							
							
						 
						
							2024-08-02 19:32:29 +03:00  
				
					
						
							
							
								 
						
							
								9943f3506a 
								
							 
						 
						
							
							
								
								style: improve style of code  
							
							
							
						 
						
							2024-08-02 19:32:14 +03:00  
				
					
						
							
							
								 
						
							
								0b745968a2 
								
							 
						 
						
							
							
								
								style: improve style of code  
							
							
							
						 
						
							2024-08-02 19:32:14 +03:00  
				
					
						
							
							
								 
						
							
								b9d9a5d9ff 
								
							 
						 
						
							
							
								
								style: improve style of code  
							
							
							
						 
						
							2024-08-02 19:32:14 +03:00  
				
					
						
							
							
								 
						
							
								ac0bd21801 
								
							 
						 
						
							
							
								
								style: improve style of code  
							
							
							
						 
						
							2024-08-02 19:32:14 +03:00  
				
					
						
							
							
								 
						
							
								500ee96dcb 
								
							 
						 
						
							
							
								
								style: improve style of code  
							
							
							
						 
						
							2024-08-02 19:32:14 +03:00  
				
					
						
							
							
								 
						
							
								a592b62686 
								
							 
						 
						
							
							
								
								style: improve style of code  
							
							
							
						 
						
							2024-08-02 19:32:14 +03:00  
				
					
						
							
							
								 
						
							
								423e89b2c7 
								
							 
						 
						
							
							
								
								style: improve style of code  
							
							
							
						 
						
							2024-08-02 19:32:13 +03:00  
				
					
						
							
							
								 
						
							
								1e2e0ac44f 
								
							 
						 
						
							
							
								
								refactor: code  
							
							
							
						 
						
							2024-06-19 19:33:28 +03:00  
				
					
						
							
							
								 
						
							
								e3763db6a7 
								
							 
						 
						
							
							
								
								Remove check for module type when looking for "binary" override so that non-asset modules may use the option later  
							
							
							
						 
						
							2024-06-11 14:27:45 -05:00  
				
					
						
							
							
								 
						
							
								a65d329381 
								
							 
						 
						
							
							
								
								Fix accessing generatorOptions object when null/undefined, and update test snapshot with the new CLI flags resulting from the new generator option  
							
							
							
						 
						
							2024-06-11 14:25:06 -05:00  
				
					
						
							
							
								 
						
							
								b6f164b2a9 
								
							 
						 
						
							
							
								
								Add a generator option for asset modules to prevent automatic conversion to Buffer (which causes source maps to be lost).  Fixes   #18438  
							
							
							
						 
						
							2024-06-11 14:25:05 -05:00  
				
					
						
							
							
								 
						
							
								1954237716 
								
							 
						 
						
							
							
								
								chore: fix lint and types  
							
							
							
						 
						
							2024-06-11 16:26:12 +03:00  
				
					
						
							
							
								 
						
							
								ab3e93b19e 
								
							 
						 
						
							
							
								
								style: fix  
							
							
							
						 
						
							2024-06-11 16:09:50 +03:00  
				
					
						
							
							
								 
						
							
								fcdfc26ef2 
								
							 
						 
						
							
							
								
								chore: fix  
							
							
							
						 
						
							2024-06-11 15:38:41 +03:00  
				
					
						
							
							
								 
						
							
								81f2e865a6 
								
							 
						 
						
							
							
								
								chore: update eslint to v9  
							
							
							
						 
						
							2024-06-11 15:32:02 +03:00  
				
					
						
							
							
								 
						
							
								563c56f406 
								
							 
						 
						
							
							
								
								fix: consider runtime for pure expression dependency update hash  
							
							
							
						 
						
							2024-06-04 15:25:43 +08:00  
				
					
						
							
							
								 
						
							
								3e3dfd781b 
								
							 
						 
						
							
							
								
								fix(types): more  
							
							
							
						 
						
							2024-03-17 20:15:44 +03:00  
				
					
						
							
							
								 
						
							
								1addd26691 
								
							 
						 
						
							
							
								
								refactor: more types  
							
							
							
						 
						
							2024-02-19 15:13:36 +03:00  
				
					
						
							
							
								 
						
							
								2732c57143 
								
							 
						 
						
							
							
								
								refactor: more types  
							
							
							
						 
						
							2024-02-16 21:03:51 +03:00  
				
					
						
							
							
								 
						
							
								1643e5b1a9 
								
							 
						 
						
							
							
								
								refactor: more types  
							
							
							
						 
						
							2024-02-16 20:51:18 +03:00  
				
					
						
							
							
								 
						
							
								9f63f7013a 
								
							 
						 
						
							
							
								
								refactor: more types  
							
							
							
						 
						
							2024-02-16 20:39:12 +03:00  
				
					
						
							
							
								 
						
							
								412ae5425e 
								
							 
						 
						
							
							
								
								chore: udpate prettier to v3  
							
							
							
						 
						
							2024-01-14 07:11:34 +05:30  
				
					
						
							
							
								 
						
							
								c1b45d5d80 
								
							 
						 
						
							
							
								
								fix: runtime logic  
							
							
							
						 
						
							2024-01-04 15:47:05 +03:00  
				
					
						
							
							
								 
						
							
								71ef633ffa 
								
							 
						 
						
							
							
								
								document deserialize empty string type for module.type  
							
							
							
						 
						
							2023-05-04 23:28:53 +00:00  
				
					
						
							
							
								 
						
							
								e958ac552b 
								
							 
						 
						
							
							
								
								refactor(types): Improve module type strictness and refactor module type string usages in module subclasses  
							
							
							
						 
						
							2023-05-04 23:19:11 +00:00  
				
					
						
							
							
								 
						
							
								02590bfdc7 
								
							 
						 
						
							
							
								
								chore: improve types  
							
							
							
						 
						
							2023-04-21 19:22:33 +03:00  
				
					
						
							
							
								 
						
							
								fa4cbf11a1 
								
							 
						 
						
							
							
								
								add more module type constants, use them across codebase  
							
							
							
						 
						
							2023-03-31 10:56:32 -07:00  
				
					
						
							
							
								 
						
							
								3902ac5ffc 
								
							 
						 
						
							
							
								
								fix: fix pureDep returns null in some js files  
							
							
							
						 
						
							2023-02-09 14:16:25 +08:00  
				
					
						
							
							
								 
						
							
								dfaa3b401e 
								
							 
						 
						
							
							
								
								lint: remove trailing comma  
							
							
							
						 
						
							2023-02-07 18:11:50 -05:00  
				
					
						
							
							
								 
						
							
								dcc3e7164e 
								
							 
						 
						
							
							
								
								Serialize code generator data to support generated assets  
							
							... 
							
							
							
							AssetGenerator calls out in a TODO-comment that the filename, assetInfo,
and fullContentHash values must be captured in the 'data' object that's
populated during code generation in order to be accessible in the
AssetModulesPlugin. It notes that it must store them in the code
generation results because it will be cached, but that appears to be
incorrect as data is a simple Map that's instantiated within the
NormalModule and not captured anywhere that would be cached.
As a result, configurations that use the asset/resource type and make
changes to assets between cached builds will result in a runtime error
as Webpack is able to access the file from cache but isn't able to
access the expected values from the data object.
This solution captures the data object as a property of the NormalModule
and hooks in to the existing serialize/deserialize functionality in
order to make this value available across cached builds. 
							
						 
						
							2023-02-07 17:54:09 -05:00  
				
					
						
							
							
								 
						
							
								ba95d08875 
								
							 
						 
						
							
							
								
								chore(deps): replace `json-parse-better-errors` to `json-parse-even-better-errors`  
							
							
							
						 
						
							2022-04-16 15:01:53 +03:00  
				
					
						
							
							
								 
						
							
								c38caa2d82 
								
							 
						 
						
							
							
								
								Merge pull request  #15515  from webpack/feat/concatenate-assets  
							
							... 
							
							
							
							add asset modules concatenation 
							
						 
						
							2022-04-04 16:04:20 +02:00  
				
					
						
							
							
								 
						
							
								3f1715f8d8 
								
							 
						 
						
							
							
								
								generate only needed source types  
							
							... 
							
							
							
							- in ConcatenatedModule generate only js
- in NormalModule generate only used sources 
							
						 
						
							2022-03-17 13:00:39 +03:00  
				
					
						
							
							
								 
						
							
								8f56fcba72 
								
							 
						 
						
							
							
								
								Replace deprecated String.prototype.substr()  
							
							... 
							
							
							
							String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr ) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com> 
							
						 
						
							2022-03-13 22:54:18 +01:00  
				
					
						
							
							
								 
						
							
								c09d86961d 
								
							 
						 
						
							
							
								
								add NormalModuleFactory hooks types  
							
							
							
						 
						
							2022-02-15 18:25:44 +03:00  
				
					
						
							
							
								 
						
							
								c41eb368f2 
								
							 
						 
						
							
							
								
								Merge pull request  #15182  from webpack/bugfix/lib-ident-includes-layer  
							
							... 
							
							
							
							Module.libIdent is scoped by the module layer if there is one 
							
						 
						
							2022-01-18 09:59:01 +01:00  
				
					
						
							
							
								 
						
							
								6b83f85141 
								
							 
						 
						
							
							
								
								Module.libIdent is scoped by the module layer if there is one  
							
							
							
						 
						
							2022-01-14 12:05:28 +01:00  
				
					
						
							
							
								 
						
							
								136b723023 
								
							 
						 
						
							
							
								
								fix callback err type should include null  
							
							
							
						 
						
							2021-12-24 20:27:31 +08:00  
				
					
						
							
							
								 
						
							
								77b5589c1a 
								
							 
						 
						
							
							
								
								css generation and hmr  
							
							
							
						 
						
							2021-12-03 08:46:22 +01:00  
				
					
						
							
							
								 
						
							
								a6bb3e58ec 
								
							 
						 
						
							
							
								
								default to the default hash function  
							
							
							
						 
						
							2021-10-28 15:32:06 +02:00  
				
					
						
							
							
								 
						
							
								dcf3b02aaf 
								
							 
						 
						
							
							
								
								add wasm md4 implementation  
							
							... 
							
							
							
							expose createHash is loader context 
							
						 
						
							2021-10-28 00:07:26 +02:00  
				
					
						
							
							
								 
						
							
								5d9cab64d9 
								
							 
						 
						
							
							
								
								Merge pull request  #14384  from swissmanu/fix-normalmodule-beforeLoaders-hook  
							
							... 
							
							
							
							Initialize buildDependencies after beforeLoaders Hook 
							
						 
						
							2021-10-22 09:56:24 +02:00  
				
					
						
							
							
								 
						
							
								8e53818939 
								
							 
						 
						
							
							
								
								Initialize buildDependencies after beforeLoaders Hook  
							
							
							
						 
						
							2021-10-21 13:25:45 +02:00  
				
					
						
							
							
								 
						
							
								8f341ebaf8 
								
							 
						 
						
							
							
								
								add hooks during module build  
							
							
							
						 
						
							2021-10-18 23:35:55 +02:00  
				
					
						
							
							
								 
						
							
								877cb13806 
								
							 
						 
						
							
							
								
								fix missing restore of resourceResolveData  
							
							... 
							
							
							
							fixes  #14176  
						
							2021-10-18 09:25:00 +02:00  
				
					
						
							
							
								 
						
							
								508e8d50f2 
								
							 
						 
						
							
							
								
								expand readResource hook to cover normal file reading  
							
							
							
						 
						
							2021-10-07 10:28:44 +02:00