Commit Graph

300 Commits

Author SHA1 Message Date
Tobias Koppers da29d21ae4 performance improvements
breaking change: Module has now a "unbuild" method that must work correctly
2016-12-14 16:22:16 +01:00
Raphael Mu 75caa169bc reduce fn.bind(this) usage by aliasing `this` to `self` (#3146) 2016-10-17 13:26:22 -05:00
Tobias Koppers 530fad43b4 allow to pass abs path to manifest property of DllReferencePlugin
manifest is loaded on compilation
2016-09-16 01:19:50 +02:00
Tobias Koppers ec262a4007 refactoring: moved parser instancation into NormalModuleFactory
breaking change: compiler.parser must no longer be used. Use this instead:

``` js
compiler.plugin("compilation", function(compilation, params) {
  params.normalModuleFactory.plugin("parser", function(parser, parserOptions) {
    parser.plugin(/* ... */);
  });
});
```

required for #2978
2016-09-15 00:22:10 +02:00
Tobias Koppers 2f618e733a refactoring and aggressive-splitting plugin 2016-07-13 11:03:14 +02:00
Tobias Koppers f5a5edd78d run purge before stats for cache #2003 2016-05-06 22:47:02 +02:00
Sharang Dashputre 8845a7dda7 Copy watchOptions properly in Compiler.js
Replace Object.create() with assign() from object-assign.
2016-04-22 01:11:37 +05:30
Daniel K 466d20890c Pass changed file into `invalid` plugin hook 2016-03-20 11:53: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 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 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 ab149eb4d4 Merge branch 'hot-multi-pass' of https://github.com/webpack/webpack.git into webpack-2
Conflicts:
	lib/Compilation.js
2015-03-05 22:30:24 +01:00
fresheneesz b271c10555 make Watching.close callback optional
https://github.com/webpack/webpack/issues/769#issuecomment-73615872
2015-02-09 16:02:36 -08:00
Tobias Koppers fb49376f6d Added multi pass hot mode #669 2015-01-30 00:46:52 +01:00
Tobias Koppers a979874cd0 updated deps, minor changes 2015-01-17 23:43:25 +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
Corporateanon 87decf47d9 [fix] mkdirp is not called properly on Windows 2015-01-05 15:30:18 +02:00
Tobias Koppers f569a97ab4 fixed incorrect commit 2014-09-22 07:59:08 +02:00
Jason Anderson f371945a29 Add TemplatedPathPlugin 2014-09-11 15:31:08 +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 d80cdcefac Code Quality 2014-06-24 18:53:32 +02:00
Tobias Koppers b0caa69ae1 fixed file system purging 2014-06-11 22:52:02 +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 42c82f6b77 refactored ModuleTemplate to plugin interface 2014-06-03 08:45:26 +02:00
Tobias Koppers a0394a061b refactored ChunkTemplate with plugin interface 2014-06-02 23:40:50 +02:00
Tobias Koppers 3247725ba3 refactored MainTemplate to plugin interface 2014-06-02 21:23:53 +02:00
Tobias Koppers aa83dad8be don't ignore error 2014-05-13 07:31:43 +02:00
Tobias Koppers e6e0b75290 added Watching.close
fixed #249
2014-05-08 09:08:01 +02:00
Tobias Koppers 6e7bd0c60b allow querystring for assets, fixes #217 2014-03-31 08:45:45 +02:00
Tobias Koppers 9a0a8165a0 bug fix for #199 2014-03-11 18:42:51 +01:00
Tobias Koppers bf40067cba replace [hash] in output.path
fixes #199
2014-03-11 15:39:46 +01:00
Tobias Koppers b1fe88b531 fixed WebWorker with Hot Module Replacement #26 2013-06-20 12:04:31 +02:00
Tobias Koppers 7df05c7ddc fixed missing mkdirp for records, #90 2013-06-10 14:25:54 +02:00
Tobias Koppers f84f000149 records, typo 2013-05-31 12:22:40 +02:00
Tobias Koppers 209f96c543 added option to prefetch modules 2013-05-13 13:34:00 +02:00
Tobias Koppers 5cdb8cbf81 cache chunks, cache assets 2013-05-08 13:28:54 +02:00
Tobias Koppers 0de7c73ad8 SourceMap support 2013-03-26 16:54:41 +01:00
Tobias Koppers fd7226ed50 fixes 2013-02-04 15:58:04 +01:00
Tobias Koppers eda45fe115 fixed a bug 2013-02-04 14:44:34 +01:00
Tobias Koppers 68ee0a6537 some bugfixes and fallback option 2013-02-04 13:59:43 +01:00
Tobias Koppers 8079331b2f fixed child compiler 2013-02-04 13:16:12 +01:00
Tobias Koppers e8f0e1d7cf fix watching 2013-02-01 08:03:38 +01:00
Tobias Koppers 961ad40966 file watching 2013-01-31 18:00:22 +01:00
Tobias Koppers ee01837d66 Refactored everything for 0.9 2013-01-30 18:49:25 +01:00