d426b6c679 
								
							 
						 
						
							
							
								
								Merge pull request  #9942  from mattp94/feat/array-support  
							
							... 
							
							
							
							feat(DefinePlugin): Support array as value in DefinePlugin 
							
						 
						
							2020-02-12 13:37:39 +01:00  
				
					
						
							
							
								 
						
							
								37e0a1217f 
								
							 
						 
						
							
							
								
								Fix branding violation  
							
							
							
						 
						
							2020-02-09 13:37:46 +05:30  
				
					
						
							
							
								 
						
							
								684c57fdc1 
								
							 
						 
						
							
							
								
								fix(DefinePlugin): Prevent an ambiguous syntax by wrapping array with Object  
							
							
							
						 
						
							2019-11-12 23:58:00 +01:00  
				
					
						
							
							
								 
						
							
								28fb5a80e6 
								
							 
						 
						
							
							
								
								feat(DefinePlugin): Support array as value in DefinePlugin  
							
							
							
						 
						
							2019-11-08 13:31:06 +01:00  
				
					
						
							
							
								 
						
							
								acff6ec992 
								
							 
						 
						
							
							
								
								move BasicEvaluatedExpression and JavascriptParserHelpers to javascript directory  
							
							
							
						 
						
							2019-10-22 09:27:52 +02:00  
				
					
						
							
							
								 
						
							
								8198ffb3e6 
								
							 
						 
						
							
							
								
								refactor: code  
							
							
							
						 
						
							2019-10-22 00:14:05 +02:00  
				
					
						
							
							
								 
						
							
								f45ba2408e 
								
							 
						 
						
							
							
								
								remove items from runtime when unneeded  
							
							... 
							
							
							
							remove some hooks from MainTemplate, move some hooks to CompatRuntimeModule
add requireScope RuntimeGlobal 
							
						 
						
							2019-10-08 23:46:23 +02:00  
				
					
						
							
							
								 
						
							
								3cbdb703fc 
								
							 
						 
						
							
							
								
								NullFactory is not required  
							
							
							
						 
						
							2019-08-07 16:14:03 +02:00  
				
					
						
							
							
								 
						
							
								e4d1a45c8d 
								
							 
						 
						
							
							
								
								Use FileSystemInfo.createSnapshot for NormalModules too  
							
							
							
						 
						
							2019-01-09 14:42:57 +01:00  
				
					
						
							
							
								 
						
							
								0232674f9c 
								
							 
						 
						
							
							
								
								Initial runtime module work  
							
							
							
						 
						
							2018-11-29 16:03:32 +01:00  
				
					
						
							
							
								 
						
							
								31e189fcde 
								
							 
						 
						
							
							
								
								Merge tag 'v4.24.0' into next  
							
							... 
							
							
							
							4.24.0 
							
						 
						
							2018-11-02 18:02:39 +01:00  
				
					
						
							
							
								 
						
							
								7dc8e519f9 
								
							 
						 
						
							
							
								
								pass { module } instead of module  
							
							... 
							
							
							
							Co-Authored-By: FranckFreiburger <FranckFreiburger@users.noreply.github.com> 
							
						 
						
							2018-10-31 09:21:03 +01:00  
				
					
						
							
							
								 
						
							
								2b0025af35 
								
							 
						 
						
							
							
								
								add module argument to DefinePlugin.runtimeValue functions  
							
							... 
							
							
							
							PR #6793  added the ability for DefinePlugin to use function that return values.
This PR just add the ability to these functions to access the module being parsed (see #8301 ).
eg.
```
  webpack.DefinePlugin.runtimeValue(module => module.resource ....)
``` 
							
						 
						
							2018-10-30 16:11:33 +01:00  
				
					
						
							
							
								 
						
							
								dae811b083 
								
							 
						 
						
							
							
								
								DefinePlugin: reevaluate runtime values on watch mode when fileDependecies is true  
							
							... 
							
							
							
							closes  #7717  
						
							2018-10-24 22:35:08 +03:00  
				
					
						
							
							
								 
						
							
								cf5f1d723c 
								
							 
						 
						
							
							
								
								format existing code  
							
							
							
						 
						
							2018-07-30 21:29:21 +02:00  
				
					
						
							
							
								 
						
							
								249e7d56bb 
								
							 
						 
						
							
							
								
								fix merge issue  
							
							
							
						 
						
							2018-07-17 11:32:15 +02:00  
				
					
						
							
							
								 
						
							
								86ff1a4642 
								
							 
						 
						
							
							
								
								Merge tag 'v4.16.1' into next  
							
							... 
							
							
							
							4.16.1 
							
						 
						
							2018-07-16 10:30:31 +02:00  
				
					
						
							
							
								 
						
							
								c3c4494a83 
								
							 
						 
						
							
							
								
								cr  
							
							
							
						 
						
							2018-07-12 18:06:21 -07:00  
				
					
						
							
							
								 
						
							
								f0ae54d478 
								
							 
						 
						
							
							
								
								Merge tag 'v4.13.0' into next  
							
							... 
							
							
							
							4.13.0 
							
						 
						
							2018-07-04 22:08:31 +02:00  
				
					
						
							
							
								 
						
							
								0ffb70cf37 
								
							 
						 
						
							
							
								
								Merge branch 'type-DefinePlugin' of github.com:mohsen1/webpack into type-DefinePlugin  
							
							
							
						 
						
							2018-07-03 16:49:54 -07:00  
				
					
						
							
							
								 
						
							
								3f8e97100d 
								
							 
						 
						
							
							
								
								Merge branch 'master' of git://github.com/webpack/webpack into type-DefinePlugin  
							
							
							
						 
						
							2018-07-03 16:46:51 -07:00  
				
					
						
							
							
								 
						
							
								5bc6b8d50e 
								
							 
						 
						
							
							
								
								Rename ParserHelpers into JavascriptParserHelpers  
							
							
							
						 
						
							2018-07-03 14:08:43 +02:00  
				
					
						
							
							
								 
						
							
								6097c5f993 
								
							 
						 
						
							
							
								
								Destructure parser helpers  
							
							
							
						 
						
							2018-07-03 14:08:43 +02:00  
				
					
						
							
							
								 
						
							
								8420c73378 
								
							 
						 
						
							
							
								
								Merge branch 'master' into define-functions  
							
							... 
							
							
							
							# Conflicts:
#	lib/DefinePlugin.js
#	test/WatchTestCases.test.js
#	test/statsCases/define-plugin/expected.txt 
							
						 
						
							2018-06-28 12:05:00 +02:00  
				
					
						
							
							
								 
						
							
								6759c51f1e 
								
							 
						 
						
							
							
								
								Do the todos  
							
							
							
						 
						
							2018-06-22 14:17:55 -07:00  
				
					
						
							
							
								 
						
							
								0874383dcb 
								
							 
						 
						
							
							
								
								Fix lint  
							
							
							
						 
						
							2018-06-09 19:37:09 -07:00  
				
					
						
							
							
								 
						
							
								c91eff8f9a 
								
							 
						 
						
							
							
								
								Merge branch 'master' of github.com:webpack/webpack into type-DefinePlugin  
							
							
							
						 
						
							2018-06-09 19:30:05 -07:00  
				
					
						
							
							
								 
						
							
								2a9452e51b 
								
							 
						 
						
							
							
								
								Add brackets for multiline if/for statements  
							
							
							
						 
						
							2018-05-29 15:45:44 +02:00  
				
					
						
							
							
								 
						
							
								800e0de25b 
								
							 
						 
						
							
							
								
								Add typing for DefinePlugin  
							
							
							
						 
						
							2018-05-20 00:32:59 -07:00  
				
					
						
							
							
								 
						
							
								cc3fa59645 
								
							 
						 
						
							
							
								
								[DefinePlugin] Add ability to use function return values  
							
							... 
							
							
							
							This adds the following API to DefinePlugin:
new webpack.DefinePlugin({
	BUILT_AT: webpack.DefinePlugin.runtimeValue(() => Date.now(), [fileDep, ...])
}) 
							
						 
						
							2018-04-30 11:30:13 +02:00  
				
					
						
							
							
								 
						
							
								f1092ad516 
								
							 
						 
						
							
							
								
								Update prettier toolchain  
							
							
							
						 
						
							2018-03-26 16:56:10 +02:00  
				
					
						
							
							
								 
						
							
								b923fff8eb 
								
							 
						 
						
							
							
								
								spelling: typeof  
							
							
							
						 
						
							2018-02-26 02:49:41 +00:00  
				
					
						
							
							
								 
						
							
								5238159d21 
								
							 
						 
						
							
							
								
								run prettier on existing code  
							
							
							
						 
						
							2018-02-25 02:00:20 +01:00  
				
					
						
							
							
								 
						
							
								9669c9e013 
								
							 
						 
						
							
							
								
								Use Parser#hooks instead of Tapable#plugin  
							
							
							
						 
						
							2017-12-21 09:08:10 +01:00  
				
					
						
							
							
								 
						
							
								c8e60b4322 
								
							 
						 
						
							
							
								
								Update Parser helpers to be compatible with hooks  
							
							
							
						 
						
							2017-12-15 17:08:49 +01:00  
				
					
						
							
							
								 
						
							
								08ddad2e10 
								
							 
						 
						
							
							
								
								Replace NormalModuleFactory#plugin() calls  
							
							
							
						 
						
							2017-12-14 14:42:49 +01:00  
				
					
						
							
							
								 
						
							
								30c9dd05b0 
								
							 
						 
						
							
							
								
								remove `__webpack_require__` requirement from some ConstDependencies  
							
							... 
							
							
							
							fixes  #5707  
						
							2017-12-13 11:14:00 +01:00  
				
					
						
							
							
								 
						
							
								36c690d37f 
								
							 
						 
						
							
							
								
								Use tapable instead of 'plugin'  
							
							
							
						 
						
							2017-12-08 14:23:31 +01:00  
				
					
						
							
							
								 
						
							
								00f2b5ede7 
								
							 
						 
						
							
							
								
								advanced module type refactoring  
							
							... 
							
							
							
							added json type
.mjs default to javascript/esm type
adjusted parser plugins to react on module type 
							
						 
						
							2017-11-11 19:27:19 +01:00  
				
					
						
							
							
								 
						
							
								f7c2f8e470 
								
							 
						 
						
							
							
								
								Update code style to arrow functions  
							
							
							
						 
						
							2017-11-08 11:56:01 +01:00  
				
					
						
							
							
								 
						
							
								302289ce24 
								
							 
						 
						
							
							
								
								Merge branch 'master' into next  
							
							
							
						 
						
							2017-06-02 16:28:22 +02:00  
				
					
						
							
							
								 
						
							
								27cc834a49 
								
							 
						 
						
							
							
								
								evaluate some identifiers to truthy values  
							
							... 
							
							
							
							fixes  #4596  
						
							2017-06-02 13:24:47 +02:00  
				
					
						
							
							
								 
						
							
								6b31b4e085 
								
							 
						 
						
							
							
								
								don't use __webpack_require__.i in DefinePlugin  
							
							
							
						 
						
							2017-05-21 20:16:09 +02:00  
				
					
						
							
							
								 
						
							
								fae5bec936 
								
							 
						 
						
							
							
								
								add some comments to clarify why this is important here  
							
							
							
						 
						
							2017-02-06 22:51:26 +11:00  
				
					
						
							
							
								 
						
							
								8159e844ea 
								
							 
						 
						
							
							
								
								readd "circuit breaker" for endless recurse calls in Defineplugin  
							
							
							
						 
						
							2017-02-06 21:41:49 +11:00  
				
					
						
							
							
								 
						
							
								6e7ad248cf 
								
							 
						 
						
							
							
								
								Revert "this is never true, is that intended? @sokra"  
							
							... 
							
							
							
							This reverts commit c3abf8f5cc 
							
						 
						
							2017-02-06 21:40:35 +11:00  
				
					
						
							
							
								 
						
							
								c3abf8f5cc 
								
							 
						 
						
							
							
								
								this is never true, is that intended? @sokra  
							
							
							
						 
						
							2017-02-05 12:20:23 +11:00  
				
					
						
							
							
								 
						
							
								bb5184bf49 
								
							 
						 
						
							
							
								
								use const where applicable in DefinePlugin  
							
							
							
						 
						
							2017-02-05 10:22:33 +11:00  
				
					
						
							
							
								 
						
							
								1ff8d69835 
								
							 
						 
						
							
							
								
								Merge pull request  #3846  from timse/extract-to-parser-helpers-extended  
							
							... 
							
							
							
							Extract to parser helpers extended 
							
						 
						
							2017-01-27 08:32:14 +01:00  
				
					
						
							
							
								 
						
							
								3b6ef1a7ab 
								
							 
						 
						
							
							
								
								use __webpack_require__.i to escape brakets  
							
							
							
						 
						
							2017-01-26 00:17:31 +01:00