Commit Graph

143 Commits

Author SHA1 Message Date
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
Avi Haiat 5594eab317 feat(app): Improve eslint and jsbeautify 2015-07-08 15:16:50 +03:00
Tobias Koppers 8cfeb51c30 refactoring and bug fixes 2015-07-07 00:11:13 +02: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 02522f11c3 throw an error when trying to use [chunkhash]
... when it's not allowed.
I. e. with HMR enabled [chunkhash] for the entry chunk
is not allowed. Now it throws an error.

Also fixes a bug where [chunkhash] doesn't have to correct
length. fixes #1192
2015-06-27 11:34:17 +02:00
Tobias Koppers 4e041dfd52 fixed [chunkhash] and [name] issue
fixed #1181
fixed #1018
2015-06-24 23:17:12 +02:00
Tobias Koppers 41f56a523a Merge branch 'master' into webpack-2 2015-06-13 17:47:50 +02:00
Tobias Koppers e20c485928 reset module index and index2 when loading from cache
consistent entry order
2015-06-13 17:44:52 +02:00
Tobias Koppers 2245c4acca Promise based chunk loading API
don't flag entry module with `0` id anymore
use extra argument in chunk instead
this allows to require entry points
2015-06-13 11:45:28 +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
Kenny Tran 08d9d87f9a Fix typos 2015-05-26 19:59:02 -07:00
Tobias Koppers ddf6066128 fixed index for entry points 2015-05-25 20:46:23 +02:00
Tobias Koppers c92491ff30 better default for chunkFilename and tests 2015-05-16 16:10:25 +02:00
Tobias Koppers 599c39dbc0 better defaults for filename and chunkFilename 2015-05-16 14:52:23 +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 8a6ac101ea generate two indices, which representent global order
and use the first for sorting modules by default
2015-05-10 18:43:47 +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 9c26ffe6a8 Merge branch 'master' into webpack-2
Conflicts:
	lib/Stats.js
2015-04-20 21:08:42 +02:00
Tobias Koppers 3419ddcb29 use dedupe plugin later in compilation
fixed webpack/style-loader#54
2015-04-20 19:39:02 +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
Tobias Koppers 0431b74149 added cheap-source-map and lineToLine option 2015-04-05 01:52:30 +02:00
Tobias Koppers c4db71c9d6 added some async steps to prevent stack overflows 2015-04-03 23:39:58 +02:00
Tobias Koppers 8fef0c79f3 cache sources 2015-04-03 19:47:53 +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
Tobias Koppers a4a72607f0 throw Error when multiple chunks emit to the same filename 2015-03-05 22:02:01 +01:00
Tobias Koppers 63eff24427 removed namedChunkFilename 2015-03-05 22:01:36 +01:00
Tobias Koppers 13b60359f4 DedupePlugin correctly inserts deduplication code
fixed #770
2015-02-09 08:43:46 +01:00
Tobias Koppers 769d40eec5 profile earlier and from cache 2015-02-04 23:22:32 +01:00
Tobias Koppers e9acc3907e remove issuer for entry and prefetch 2015-02-04 23:22:31 +01:00
Tobias Koppers 725371e271 separate module assets from chunk assets 2015-01-31 16:19:36 +01:00
Tobias Koppers fb49376f6d Added multi pass hot mode #669 2015-01-30 00:46:52 +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 de1ea9d15e allow multiple chunks for a dependency block #640 2015-01-01 21:58:27 +01:00
Tobias Koppers 738c1d3e68 support library with CommonsChunkPlugin
fixes #622
2014-12-22 16:10:23 +01:00
Tobias Koppers 1c9fd48839 reorganized function 2014-11-02 12:17:05 +01:00
Tobias Koppers 8131061c8e added weak dependencies, require.resolveWeak
#526
2014-10-13 16:10:19 +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 37aa1ff7d5 support parallel build and rebuild
expanded css bundle example
2014-07-29 00:13:25 +02:00
Tobias Koppers e2f83e195d add more complex css-bundle examples
add rebuild module
add chunkName parameter to CommonsChunkPlugin
fix bug in LimitChunkCountPlugin
2014-07-19 14:32:48 +02:00
Tobias Koppers 03c87c11a4 support [name] in chunkFilename
fixes #358
2014-07-17 01:52:41 +02:00
Dan Abramov 6085815327 Don't call the callback twice on error (fixes #347) 2014-07-07 18:11:40 +04:00
Tobias Koppers 5104661855 optional externals
track optional modules
optional externals for UMD and root
fixes #339
2014-07-03 00:00:06 +02:00
Tobias Koppers d80cdcefac Code Quality 2014-06-24 18:53:32 +02:00
Tobias Koppers 80f3c48d99 better code style 2014-06-03 21:03:21 +02:00
Tobias Koppers 42c82f6b77 refactored ModuleTemplate to plugin interface 2014-06-03 08:45:26 +02:00
Tobias Koppers 5264f69ddf refactored HotChunkUpdateTemplate to plugin interface 2014-06-03 00:14:46 +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 07e29e2348 expose module on entry dep 2014-05-26 23:53:48 +02:00
Tobias Koppers 5c3f8cc345 Don't render and emit entry assets if not needed
webpack/webpack-dev-server#21
2014-04-19 21:35:01 +02:00
Tobias Koppers 1f651d6fcb add an additional hook 2014-04-18 12:56:19 +02:00
Tobias Koppers e2c0866c62 chunk ids are unique now, so this is no longer needed 2014-04-17 09:08:46 +02:00
Tobias Koppers 8229f59adf allow initial chunks to have other ids than 0 2014-02-11 13:27:41 +01:00
Tobias Koppers d3a9712193 bug fixing 2014-02-03 18:12:19 +01:00
Tobias Koppers e246c5badc added optimize-tree hook, reset module on build 2014-01-29 10:13:28 +01:00
Tobias Koppers 89fb178917 add origin for used named chunks 2014-01-24 13:32:58 +01:00
Tobias Koppers 30f954067c track chunk origin 2014-01-23 15:31:40 +01:00
Tobias Koppers 1fa9169cf2 use initial flag for initial loaded chunks 2013-12-03 23:11:14 +01:00
Tobias Koppers 6c6e495ae7 better commons naming #128 2013-12-03 11:19:30 +01:00
Tobias Koppers 4d25d521f6 plugin to extract common modules
from multiple entry points
#128
2013-12-03 09:27:15 +01:00
Tobias Koppers e62e3a2223 fixed race condition for loadModule 2013-10-29 14:14:16 +01:00
Tobias Koppers 52b40b3798 allow loaders to load modules
fixed templates readable name
2013-10-28 16:21:29 +01:00
Tobias Koppers d56dce7e52 more details in progress 2013-10-12 22:40:15 +02:00
Tobias Koppers 58586f8ae2 make it webpack-able 2013-07-10 23:20:07 +02:00
Tobias Koppers a7bce382bc fixed global leak 2013-07-04 12:11:17 +02:00
Tobias Koppers 49506c83bb HOT: added update json info file, fixed infinite hash updates, #26 2013-07-01 13:59:02 +02:00
Tobias Koppers 8b2301056d added hot module replacement, fixes #26 2013-06-19 13:49:57 +02:00
Tobias Koppers 327a990070 fixed bugs 2013-06-19 11:53:03 +02:00
Tobias Koppers f84f000149 records, typo 2013-05-31 12:22:40 +02:00
Tobias Koppers 0870e00113 build chunks on seal (fixes prefetching bug) 2013-05-22 10:12:53 +02:00
Tobias Koppers 44f8709fbd more options for hashing 2013-05-21 11:08:08 +02:00
Tobias Koppers 6af5702c44 added [chunkhash] support, fixes #90 2013-05-21 01:46:14 +02:00
Tobias Koppers 1133a5606e better error reporting 2013-05-18 14:42:11 +02:00
Tobias Koppers 209f96c543 added option to prefetch modules 2013-05-13 13:34:00 +02:00
Tobias Koppers c5b52b547c keep chunk ids 2013-05-08 23:01:25 +02:00
Tobias Koppers 30c66003e8 profiling is back 2013-05-08 14:47:13 +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 edfc6759fb Errors and warnings stay in cache 2013-03-05 11:08:59 +01:00
Tobias Koppers 9fe83b3dc8 improved chunk loading
now a chunk is not loaded if all included modules are already loaded (by other chunks)
2013-02-24 02:05:55 +01:00
Tobias Koppers 57ddbc0859 added i18n example, fixed error/warning bug 2013-02-19 12:48:17 +01:00
Tobias Koppers dc69f23de4 fixes #65 2013-02-13 14:42:34 +01:00
Tobias Koppers 3315480432 fixed some bugs 2013-02-13 13:00:01 +01:00
Tobias Koppers 90f8a42ab3 fixed some examples stuff 2013-02-13 11:51:08 +01:00
Tobias Koppers fd7226ed50 fixes 2013-02-04 15:58:04 +01:00
Tobias Koppers 961ad40966 file watching 2013-01-31 18:00:22 +01:00
Tobias Koppers 55d1af8109 fix named chunks, added multi entry plugin 2013-01-31 01:44:39 +01:00
Tobias Koppers ee01837d66 Refactored everything for 0.9 2013-01-30 18:49:25 +01:00