Commit Graph

45 Commits

Author SHA1 Message Date
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