Tobias Koppers
dae9de6595
Merge branch 'next' into feature/validate-plugin-options
...
# Conflicts:
# lib/SourceMapDevToolPlugin.js
# lib/optimize/AggressiveSplittingPlugin.js
# yarn.lock
2017-11-28 09:59:59 +01:00
Tobias Koppers
31e9625dfe
upgrade tapable for Compiler
2017-11-27 21:01:44 +01:00
Tobias Koppers
8149c5e1f1
fix linting issues
2017-11-21 13:23:12 +01:00
Tobias Koppers
639446cc58
remove the NoErrorsPlugin
...
#5985
2017-11-20 12:49:28 +01:00
Sergey Petushkov
cdd593b847
Rename schemas; Make imports less verbose
2017-11-12 09:48:08 +01:00
Tobias Koppers
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
Tobias Koppers
f7c2f8e470
Update code style to arrow functions
2017-11-08 11:56:01 +01:00
Tobias Koppers
5abd69680d
Merge branch 'master' into next
...
# Conflicts:
# lib/Compilation.js
# test/statsCases/optimize-chunks/expected.txt
2017-10-11 19:26:00 +02:00
Tim Sebastian
9e5b7f4418
add ContextExclusionPlugin to allow excluding files/paths from lookup for contexts
2017-09-25 22:10:35 +10:00
Tobias Koppers
794b883f0a
Merge branch 'next' into deprecation/webpack-3
2017-09-22 14:30:04 +02:00
Tobias Koppers
c383d5ea7f
rename `pure-module` to `side-effects`
2017-09-14 15:12:36 +02:00
Tobias Koppers
bc41e60424
options defaulter returns new object
2017-09-14 14:16:36 +02:00
Tobias Koppers
7ceac63f07
add support for pure modules
2017-09-14 09:44:42 +02:00
Tobias Koppers
f04cce8278
clone options and don't modify them
...
fixes #5628
2017-09-06 12:10:16 +02:00
Tobias Koppers
08c535d678
fix lint and bug
2017-07-24 11:15:45 +02:00
Tobias Koppers
ab7bac8ec6
Refactor exporting to be webpackable
2017-07-24 11:15:45 +02:00
Tobias Koppers
9b2a9fa786
Scope Hoisting
2017-05-21 09:15:41 +02:00
Tobias Koppers
83ad4b0f35
Merge pull request #4169 from kball/IS4156-multicompiler-watch-options
...
Update MultiCompiler and lib/webpack to better support multiple watchOptions
2017-04-04 18:21:13 +02:00
Tim Sebastian
9bfae7e1c8
add NamedChunksPlugin as a exposed plugin
2017-03-26 20:30:52 +11:00
Kevin Ball
ea2f25f319
Update MultiCompiler and lib/webpack to better support multiple watchOptions
2017-02-01 15:14:18 -08:00
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
Tobias Koppers
6f2a6e64f9
export AggressiveMergingPlugin
2014-02-05 12:37:37 +01:00
Tobias Koppers
1822f3a717
added ResolverPlugin
2014-01-21 13:07:10 +01:00
Tobias Koppers
3170b76b22
webpack 1.0 beta
...
moved many options to plugins
#113
2013-12-17 23:21:49 +01:00
Tobias Koppers
58586f8ae2
make it webpack-able
2013-07-10 23:20:07 +02:00
Tobias Koppers
3dc62749a2
moved webworker template, added node.js template #57
2013-02-13 17:00:07 +01:00
Tobias Koppers
ee01837d66
Refactored everything for 0.9
2013-01-30 18:49:25 +01:00
Tobias Koppers
6a9bd13396
better minimize options and error handling
2012-11-12 14:39:53 +01:00
Tobias Koppers
d48e8bd6a6
upgrade to uglify-js2
2012-11-07 12:03:37 +01:00
Tobias Koppers
3b881ba414
changes some defaults for modules
2012-11-06 15:05:52 +01:00
Rainer Dreyer
0366444379
Renamed *libary* to *library*
...
Conflicts:
test/browsertest/build.js
2012-11-05 20:11:50 +01:00
Tobias Koppers
567ca44ad8
updated loader modules
2012-11-02 10:27:05 +01:00
Tobias Koppers
10a887b8ff
backcompatible and fixed output bug
2012-11-02 00:24:20 +01:00
Tobias Koppers
79743f0217
work with queries in loaders
2012-11-01 23:48:08 +01:00
Tobias Koppers
31c6ffc829
update to next resolve version
2012-11-01 21:00:15 +01:00
Tobias Koppers
41b3d51534
Merge branch 'master' into wip-0.8
2012-11-01 20:57:14 +01:00
Tobias Koppers
efea82a52e
only show named chunks in stats.chunkNameFiles
2012-10-28 22:52:02 +01:00
Tobias Koppers
7f1fc5b825
specify lookup fields in package.json
2012-10-27 02:16:42 +02:00
Tobias Koppers
46205caf04
jam is no longer default, as it impactes performance
2012-10-26 01:56:32 +02:00
Tobias Koppers
8dac14a3d9
fixed chunkNameFiles for chunk merging
2012-10-26 01:41:21 +02:00
Tobias Koppers
6d484e80db
option to merge chunks
2012-10-26 00:05:41 +02:00
Tobias Koppers
b8be5e9bf5
final fixes
2012-10-08 22:34:26 +02:00
Tobias Koppers
5b64b25e9a
not required
2012-09-26 18:02:15 +02:00
Tobias Koppers
6cc2b7d099
deps updated
2012-09-26 13:40:00 +02:00
Tobias Koppers
18db563ef6
seperate resolving
2012-09-26 12:28:23 +02:00
Tobias Koppers
9320ed60ca
fixed chunkNameFiles with hash
2012-09-25 17:20:36 +02:00
Tobias Koppers
2eeb4923e1
API: loaderContext.depencency is more relaxed and don't need to be called before reading
...
API: loader.seperable cannot combined with
loaderContext.emitFile and loaderContext.emitSubStats
loaderContext.options.resolve
loaderContext.options.events
loaderContext.resolve and .sync
API: added profile option (and --profile)
API: added workers option (and --workers)
API: added closeWorkers option
API: if option workers is used:
options must be JSON.stringify-able. Except options.resolve and options.events.
Any error thrown in loader must be an object (i. e. an Error object). Only message, stack and value of toString is passed to main process.
API: The expected Cache object for options.cache has changed.
API: event module is emited after the module is finished.
API: event context is now named context-enum
API: added event context which is emited after the context is finished.
API: event dependency is removed. Use stats.dependencies for this.
API: event loader is removed. Use stats.loaders for this.
API: added stats.contexts as a list of contexts.
API: added stats...modules[..].dependencies for as list of files which affect the module's content.
API: added stats...modules[..].loaders for as list of loaders which affect the module's content.
API: removed stats.modulesPerChunk, it is useless and was deprecated.
API: added stats.chunkNameFiles which export the files for named chunks
API: added stats.startTime, timestamp as number
cmd: more colorful output to indicate caching and timing
API: webpack in watch mode emits the event watch-end if watch mode have to end (i. e. loader changed). You may restart it after clearing require.cache.
API: added loaderContext.loaderType as one of loader, preLoader or postLoader.
API: added loaderContext.currentLoaders as list of all loader of the current type.
API: added loaderContext.loaderIndex as index of current loader in loaderContext.currentLoaders.
API: added loaderContext.loaders, loaderContext.preLoaders and loaderContext.postLoaders.
2012-09-25 16:45:53 +02:00
Tobias Koppers
2bf6851c80
removed old stuff, moved loaders to enhanced-require
2012-08-23 14:58:10 +02:00
Tobias Koppers
c912c0134b
separable loaders as opt-in feature, fixes #16
...
in future separable loaders may run in a
sperate process for performance reasons
2012-08-23 03:17:52 +02:00
Tobias Koppers
cdf12758ba
bugfix: fixed multiple chunks
2012-08-23 02:01:33 +02:00
Tobias Koppers
624eff12aa
bugfix: error reporting minimize
2012-08-23 01:43:29 +02:00
Tobias Koppers
d2fae4b5ce
Extracted resolving to module
2012-08-13 16:50:42 +02:00
Tobias Koppers
2fdf1666fd
Support for webpack-dev-middleware, and tests
2012-08-08 22:22:31 +02:00
Tobias Koppers
8c0ab9c229
fire bundle-invalid, documentation, added noWrite option
2012-08-08 20:27:55 +02:00
Tobias Koppers
2c59bf8a65
fix files order
2012-08-06 21:49:16 +02:00
Tobias Koppers
4d631a0635
added AMD support
2012-08-06 21:43:57 +02:00
Tobias Koppers
4785721f7b
made stuff ready for worker implementation
2012-08-06 18:20:41 +02:00
Tobias Koppers
c7d7607053
support loaders as entry module
2012-07-17 13:25:01 +02:00
Tobias Koppers
87f82e5219
added pre and post loaders
2012-07-11 12:18:31 +02:00
Tobias Koppers
514ad01e97
Shorten sourceURLs fixes #6
2012-07-11 02:15:39 +02:00
Tobias Koppers
9000cad388
fixed big performance bug in watch mode
2012-07-10 19:32:17 +02:00
Tobias Koppers
e60514aac1
add compile time to statistics
2012-07-10 19:31:22 +02:00
Tobias Koppers
513a1f1c80
expand hash in stats
2012-07-10 18:22:23 +02:00
Tobias Koppers
088d315f9f
node.js 0.8 support
2012-07-01 16:55:58 +02:00
Tobias Koppers
623ca4ea5c
caching info
2012-06-29 21:52:03 +02:00
Tobias Koppers
7d16ffc084
watch react on loader dependency
2012-05-21 00:16:33 +02:00
Tobias Koppers
0ddf30412d
added caching for watch mode
2012-05-21 00:09:30 +02:00
Tobias Koppers
c30095ab56
small fixes
2012-05-18 01:15:53 +02:00
Tobias Koppers
e48e2a2c12
added named chunks
2012-05-17 12:45:48 +02:00
Tobias Koppers
54ed0bfab7
deterministic chuck numbering
2012-05-13 16:19:11 +02:00
Tobias Koppers
31158a968d
documentation and small bugfixes
2012-05-12 16:43:37 +02:00
Tobias Koppers
66a0ebdc6e
offer loader.emitFile and loader.buffers
2012-05-07 17:58:36 +02:00
Tobias Koppers
d394065af6
moved templates
2012-05-07 09:01:28 +02:00
Tobias Koppers
a090e12322
added val & bundle loader
2012-05-04 16:42:38 +02:00
Tobias Koppers
e96c8369bb
bugfixes
2012-05-02 14:06:42 +02:00
Tobias Koppers
95e89267f4
added watch mode and --progress
2012-05-01 21:33:59 +02:00
Tobias Koppers
c44e5f8dc4
add [hash] function
2012-05-01 17:46:26 +02:00
Tobias Koppers
d1ea524d8f
added less loader
2012-05-01 15:47:37 +02:00
Tobias Koppers
e3b94309da
module ids are predictable, loaders not optional anymore
2012-04-07 21:36:55 +02:00
Tobias Koppers
295be3d5bc
bugfixes, css and style loader
2012-04-07 03:20:45 +02:00
Tobias Koppers
ebd6488752
better free var filling, node.js test
2012-04-05 14:59:01 +02:00
Tobias Koppers
97ed773cb1
better loader support
2012-04-03 16:26:08 +02:00
Tobias Koppers
87d681f8d2
do not use http and vm replacement by default, let the user choose
2012-03-27 04:26:53 +02:00
Tobias Koppers
a29a823305
added loader support
2012-03-27 00:00:32 +02:00
Tobias Koppers
f5651c8fa8
added alias, added support for http/vm-browserify
2012-03-16 13:59:19 +01:00
Tobias Koppers
8a8c8b08ee
bugfixes and optimize
2012-03-15 23:01:42 +01:00
Tobias Koppers
d7ad8b72eb
added automatic polyfills for process and modules. added some buildin modules
2012-03-15 14:38:55 +01:00
Tobias Koppers
6d1a7a77d6
nice output
2012-03-15 00:05:29 +01:00
Tobias Koppers
0bc303cbf3
allow require as identifier to convert to require.context(".")
2012-03-14 16:33:46 +01:00
Tobias Koppers
911517f375
formatting, license
2012-03-11 21:50:55 +01:00
Tobias Koppers
2e1460036c
Initial commit
2012-03-10 13:11:23 +01:00