Commit Graph

33 Commits

Author SHA1 Message Date
Landon Crapo bc6c1be90c refactoring filter to include and other requested changes 2017-10-13 15:41:44 -06:00
Landon Crapo 5d1759fd4c modified import context filtering logic to filter on file names. 2017-10-13 15:41:02 -06:00
Tobias Koppers 33818bcbe4 Merge pull request #5812 from simon-paris/ignore-enoent-in-contextmodulefactory-resolvedependencies
Fix #5794 by ignoring ENOENT errors in ContextModuleFactory.addDependencies
2017-10-13 11:06:11 +02:00
Simon Paris 5e3039d5c9 Fix #5794 by ignoring ENOENT errors in ContextModuleFactory.addDependencies 2017-10-11 16:52:48 +08:00
Tim Sebastian c8794261e9 Introduce new plugin hook for contextmodulefactory to allow filtering files 2017-09-25 21:27:51 +10:00
Tim Sebastian 7f3237f45a just use "this" to refer to own context in lib/ContextModuleFactory.js 2017-09-25 21:23:08 +10:00
Adam Thomann 15f4894ebe Convert bind(this) to arrow functions 2017-08-11 01:52:25 -04:00
Orlando Wenzinger 36659f54aa ES6 refactor of ContextModuleFactory 2017-05-10 21:36:20 +02:00
Ma Cheng 1fdf800f09 Merge branch 'master' into feature/import-chunk-name 2017-04-06 11:35:40 +08:00
SendilKumar N 26456f96d4 Changing async to asyncLib 2017-04-05 21:05:00 +08:00
mc-zone 0b1b9265fb Fix indentation. 2017-03-28 10:42:18 +08:00
mc-zone b65432a2f1 Add specify chunk name feature for `import()`
Add specify chunk name feature for `import()` by following special comment block after the param:

  import('./foo' /* webpackChunkName = "myChunkName" */)

Thus we can use chunk name like `requre.ensure` and avoid conflicts with the specification.
2017-03-26 17:18:30 +08:00
Tobias Koppers 8e69a80847 code linting 2017-01-11 12:29:01 +01:00
Tobias Koppers 711a3822fa refactor ModuleFactory to take an object instead of multiple arguments 2016-07-20 12:51:03 +02:00
Tobias Koppers a4cc54e759 added manual context map option to ContextReplacementPlugin 2016-01-06 19:56:17 +01:00
Tobias Koppers 461c49ab66 updated partly to new enhanced-resolve API 2016-01-02 00:21:54 +01:00
Tobias Koppers ded70aef28 moves stuff from webpack-core to webpack-sources 2015-12-29 17:44:55 +01:00
Tobias Koppers 7cbd78c1da Merge branch 'master' into webpack-2
Conflicts:
	.travis.yml
	bin/config-optimist.js
	test/statsCases/define-plugin/expected.txt
2015-09-19 20:11:48 +02:00
Ahmet Katrancı 8ff6cb5fed Report constructor correctly when inheriting from Tapable 2015-08-18 12:35:57 +01:00
Tobias Koppers 431a4c791c Merge branch 'master' into webpack-2
Conflicts:
	hot/dev-server.js
	hot/only-dev-server.js
	hot/poll.js
	hot/signal.js
	lib/ChunkTemplate.js
	lib/HotModuleReplacement.runtime.js
	lib/HotModuleReplacementPlugin.js
	lib/JsonpMainTemplatePlugin.js
	lib/MainTemplate.js
	lib/NormalModule.js
	lib/Parser.js
	lib/RecordIdsPlugin.js
	lib/WebpackOptionsApply.js
	lib/dependencies/RequireEnsureDependency.js
	lib/node/OldNodeWatchFileSystem.js
	lib/optimize/OccurrenceOrderPlugin.js
	package.json
2015-07-17 09:30:37 +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 d98df52a49 added System.import API and async context 2015-07-01 00:19:52 +02:00
Tobias Koppers f4b9d5f57a Merge branch 'master' into webpack-2
Conflicts:
	lib/Compilation.js
	lib/Compiler.js
	lib/DefinePlugin.js
	lib/HotModuleReplacementPlugin.js
	lib/Parser.js
	lib/node/NodeSourcePlugin.js
	lib/node/OldNodeWatchFileSystem.js
	package.json
2015-04-27 20:22:13 +02:00
Tobias Koppers cebd3b9722 added linting 2015-04-23 23:55:50 +02:00
Tobias Koppers 9f21fed247 handle case when regExp is false in context 2015-03-05 22:57:52 +01:00
Tobias Koppers 0f59e5d49d ignore hidden files
fixes #474
2014-11-02 12:56:40 +01:00
Tobias Koppers 6a8caf5cd1 fixes #524 again 2014-11-02 12:16:55 +01:00
Tobias Koppers d80cdcefac Code Quality 2014-06-24 18:53:32 +02:00
Tobias Koppers 07f2a23130 bug fix 2014-01-22 17:09:10 +01:00
Tobias Koppers 7a665410ca added IgnorePlugin, fixed replacement plugins 2013-11-05 18:19:04 +01:00
Tobias Koppers 453c0226aa Fix context modules 2013-02-04 12:34:20 +01:00
Tobias Koppers ee01837d66 Refactored everything for 0.9 2013-01-30 18:49:25 +01:00