Commit Graph

120 Commits

Author SHA1 Message Date
Tobias Koppers 8e69a80847 code linting 2017-01-11 12:29:01 +01:00
chico 3ec94070b7 refactor(es6): Upgrade lib/webpack.js to es6 2017-01-02 03:12:08 +03:00
Elod-Arpad Szopos 082dc17472 No errors plugin deprecate (#3570)
* added deprecation with unit test
* added deprecation for NoErrorsPlugin in favor of NoEmitOnErrorsPlugin with unit test
* add new NoEmitOnErrorsPlugin to exports and add an extra unit test to check that there is no warning when using it
* added test for NoEmitOnErrorsPlugin in case of error
* git ignore temporary test fixtures
2016-12-30 09:52:37 +01:00
Tobias Koppers b46da21589 move plugins before environment 2016-12-21 22:56:04 +01:00
Tobias Koppers f4ab7fc7e2 more performance improvements 2016-12-14 16:22:54 +01:00
Kees Kluskens aa4c5a0932 Implement feedback 2016-11-03 15:02:14 +01:00
Kees Kluskens 985a651e0f Implement feedback
- Rename `validateWebpackOptions` -> `validationSchema`
- Export `WebpackOptionsValidationError` on webpack.
2016-11-02 17:27:02 +01:00
Kees Kluskens 2bbd3652bf Expose schema validator as `webpack.validateSchema 2016-11-02 11:41:01 +01:00
Kees Kluskens f3040fed9c Don't use a default schema 2016-11-01 23:38:54 +01:00
Tobias Koppers 8c3d97d933 add test
better error messages
validate array
more options in schema
stricter schema
fix some old configs
2016-09-19 00:54:35 +02:00
Gajus Kuizinas 4526824177 feat: utilise WebpackOptionsValidationError 2016-09-17 20:21:07 +01:00
Gajus Kuizinas 992f5c807e feat: throw error with validationErrors property 2016-09-17 20:21:07 +01:00
Gajus Kuizinas bebc397123 fix: do not console.log in the API 2016-09-17 20:21:07 +01:00
Gajus Kuizinas cee956dbb7 feat: log validation errors to the console 2016-09-17 20:21:07 +01:00
Gajus Kuizinas 3ef4538f8d feat: validate webpack options against a schema 2016-09-17 20:21:07 +01:00
Tobias Koppers a0a920d83f added experimental plugin to set custom module ids 2016-09-16 01:18:21 +02:00
Tobias Koppers c3e6fcf36a fixed beautify issues 2016-09-08 21:41:03 +02:00
Tobias Koppers a14e563f67 removed LabeledModules 2016-09-07 12:25:02 +02:00
Tobias Koppers 8b03d2b4f9 closes #2659 2016-08-17 13:08:42 +02:00
Tobias Koppers 2f618e733a refactoring and aggressive-splitting plugin 2016-07-13 11:03:14 +02:00
Michael McDermott 7a4dc0b17e fix: fix typo in error message 2016-06-24 23:44:05 -04:00
Ryan Berdeen edf12b4195 remove export of ResolverPlugin which no longer exists 2016-05-22 12:29:53 -04:00
Tobias Koppers b3bc542796 warn users when passing a weird object as options
i. e. when passing a es6 module like #2376
2016-05-05 09:00:55 +02:00
Sascha Gehlich ae76261151 🐛 Fix `watch` option recognition with multiple compilers 2016-04-04 11:20:52 +02:00
Tobias Koppers 5aeef4a792 added HashedModuleIdsPlugin 2015-11-29 20:16:01 +01:00
Tobias Koppers 37e9515cc4 remove deprecated stuff 2015-11-20 08:37:56 +01:00
Tobias Koppers 67656b90e2 split uglify-js from loader minimize, better shortcut defaults 2015-11-16 23:11:15 +01:00
Tobias Koppers cf30eeeb0f Merge branch 'master' into webpack-2
Conflicts:
	lib/ChunkTemplate.js
	lib/Compilation.js
	lib/HotModuleReplacement.runtime.js
	test/TestCases.test.js
	test/statsCases/chunks/expected.txt
	test/statsCases/simple-more-info/expected.txt
	test/statsCases/simple/expected.txt
2015-07-01 00:44:17 +02:00
Tobias Koppers a04ffb9283 added (experimental) NamedModulesPlugin 2015-06-27 22:47:51 +02:00
Tobias Koppers 66df34688e Merge branch 'master' into webpack-2
Conflicts:
	bin/convert-argv.js
	lib/webpack.js
2015-06-07 22:24:03 +02:00
Tobias Koppers 62bd7c1af4 export DllPlugin and DllReferencePlugin 2015-05-17 23:29:40 +02:00
Tobias Koppers 11a578a36b Merge branch 'master' into webpack-2
Conflicts:
	lib/NormalModuleFactory.js
2015-05-16 14:59:50 +02:00
Tobias Koppers 89058a2c4a Reverted watch option rename:
watch -> doWatch -> watch
watchDelay -> watch -> watchOptions
watchDelay and --watch-delay are decrecated now but functional with message
watch is decrecated now but functional with message
2015-05-12 21:17:35 +02:00
Tobias Koppers ff7848369a Merge branch 'master' into webpack-2
Conflicts:
	bin/webpack.js
	package.json
2015-05-10 20:41:04 +02:00
Tobias Koppers 18f3595cde allow to pass watch options
deprecate old API
2015-05-10 13:50:15 +02:00
Tobias Koppers ed75627f06 Merge branch 'master' into webpack-2
Conflicts:
	bin/convert-argv.js
	package.json
2015-04-14 20:09:29 +02:00
hkal ccabb75c1d Add and expose WatchIgnorePlugin
* Test stubs included
2015-03-07 14:43:48 -05:00
Tobias Koppers a2af69056a Remove old stuff 2015-03-05 21:48:16 +01:00
hkal 42d176e098 Export EvalSoureMapDevToolPlugin 2015-03-01 23:49:43 -05:00
Tobias Koppers 80a3a7b08d added experimental AutomaticPrefetchPlugin 2015-02-04 23:22:33 +01:00
Tobias Koppers 4099f66141 Check arguments to webpack function, use watch from options
fixes #697
fixes #699
2015-01-21 12:38:57 +01:00
Tobias Koppers adfcfce15f watching of missing files, fixed #668
store missing files from errors for missingDependencies
make the new watching plugins default
added OldWatchingPlugin
2015-01-17 21:55:44 +01:00
Tobias Koppers a14f7a5f30 renamed plugin 2015-01-06 23:51:05 +01:00
Simen Brekken b80edb6a49 Added EnvPlugin. 2014-12-23 11:06:48 +01:00
Tobias Koppers 3b02644053 added experimental NewWatchingPlugin #125 2014-10-09 00:53:05 +02:00
Tobias Koppers 9a8cae6d43 added `NoErrorsPlugin`, which doesn't emit on error
fixes webpack/webpack-dev-server#42
fixes #449
2014-09-03 14:16:17 +02:00
Tobias Koppers 1bc0b8c0f4 added __webpack_hash__
fixes #422
2014-08-25 09:50:26 +02:00
Tobias Koppers 7ebd1a970c Export more stuff 2014-06-24 00:41:10 +02:00
Tobias Koppers 44bb43854f Added experimental MultiCompiler
webpack(...) takes an array
support an array in webpack.config.js
2014-06-11 22:26:50 +02:00
Tobias Koppers 48aad3eeee fixed #179 typo in OccurenceOrderPlugin 2014-02-25 08:51:40 +01:00