Commit Graph

145 Commits

Author SHA1 Message Date
Bazyli Brzóska 75253e7154 Merge branch 'master' of https://github.com/webpack/webpack into jest
# Conflicts:
#	.eslintrc.js
#	package.json
#	test/BenchmarkTestCases.benchmark.js
#	test/ConfigTestCases.test.js
#	test/NodeWatchFileSystem.unittest.js
#	test/TestCases.test.js
#	test/WatcherEvents.test.js
#	test/cases/parsing/extract-require/index.js
#	test/configCases/parsing/harmony-this/index.js
#	test/statsCases/async-commons-chunk/expected.txt
#	yarn.lock
2018-04-10 23:36:20 +02:00
Florent Cailhol 72786beee7 Use ellipsis instead of '...' 2018-03-22 10:54:18 +01:00
Bazyli Brzóska b579658d22 Merge branch 'profiling-race' into jest
# Conflicts:
#	lib/debug/ProfilingPlugin.js
#	test/ConfigTestCases.test.js
#	test/DependenciesBlockVariable.unittest.js
#	test/Examples.test.js
#	test/ExternalModule.unittest.js
#	test/HotTestCases.test.js
#	test/Schemas.lint.js
#	test/WebEnvironmentPlugin.unittest.js
#	test/cases/mjs/non-mjs-namespace-object-lazy/index.js
#	test/cases/runtime/module-caching/index.js
#	test/compareLocations.unittest.js
#	test/configCases/library/1-use-library/index.js
#	test/configCases/plugins/define-plugin/index.js
#	yarn.lock
2018-03-07 21:56:06 +01:00
Josh Soref c1ccdbe309 spelling: output 2018-02-26 02:38:10 +00:00
Josh Soref 51e149f91c spelling: original 2018-02-26 02:37:18 +00:00
Josh Soref 4ecd495a5b spelling: number 2018-02-26 02:35:18 +00:00
Bazyli Brzóska 36e8e30875 run prettier on existing code 2018-02-25 11:46:17 +01:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Florent Cailhol aa217e9abc Fix wrong regexp replacements 2018-01-30 21:03:23 +01:00
Bazyli Brzóska a6c2aca36f migrate should to expect, part 2 (manual) 2018-01-26 23:59:38 +01:00
Florent Cailhol cd419d0546 Migrate integration tests to Jest 2018-01-24 17:29:57 +01:00
Tobias Koppers 18ae73dad4 Refactor chunk graph
Chunks are now always in ChunkGroups
ChunkGroups have parents and children, Chunks no longer have this
AsyncDependenciesBlocks point to a ChunkGroup instead of a list of chunks
Entrypoint is now a ChunkGroup (extends from it)
move stuff graph modification methods into GraphHelpers
Change chunk id recording to source-based
Chunks have parents, siblings and children in Stats
rename AutomaticCommonsChunksPlugin to SplitChunksPlugin
add request property to origin (ChunkGroup)
remove moveToParent from AggressiveMergingPlugin
fix issues with AggressiveSplittingPlugin
remove CommonsChunkPlugin
add optimization.runtimeChunk (RuntimeChunkPlugin)
fix a filename bug for initial chunks
remove extract-text-webpack-plugin from test suite
add DebugHash to help debugging hash issues
fix issues with entry modules in different chunk as runtime
redo optimization.splitChunks options
Compilation.entrypoints is now a Map
Compilation.chunkGroups has been added
remove some unittests
update examples
update tests with CommonsChunkPlugin
2018-01-19 19:21:30 +01:00
Florent Cailhol 3fb63f94cc Deprecate System.import() parser plugin
- `system: undefined`: Warns if `System.import()` is used
- `system: true`: Disable warning
- `system: false`: Skip `System.import()` instrumentation
2018-01-18 11:34:02 +01:00
Tobias Koppers 2148f556a4 Enable minimizing in production mode 2017-12-14 00:06:56 +01:00
Tobias Koppers 6368dd0368 fix browsertests 2017-05-25 13:12:34 +02:00
Tim Sebastian 2c14f6cd2c remove labeled modules leftovers 2017-02-25 01:10:38 +11:00
Tobias Koppers 8e69a80847 code linting 2017-01-11 12:29:01 +01:00
Tobias Koppers 71cf49a259 add depth to module
add depth to stats
fix stats spacing (fixes #3541)
add maxModules to stats, default to 15 (fixes #3540)
2016-12-21 18:03:20 +01:00
Tobias Koppers 712a91488d `--module-bind` automatically appends -loader
fixes browsertests
2016-11-16 13:32:16 +01:00
Tobias Koppers 91cbb4c288 removed DedupePlugin
it's no longer needed for npm3
and causes many issues
2016-11-15 09:25:58 +01:00
Tobias Koppers d3eaed97bc fixed browsertest 2016-09-21 16:48:45 +02:00
Tobias Koppers b2e8f96f2c updated tests for removed pre and post loaders 2016-09-20 00:54:35 +02:00
Tobias Koppers a14e563f67 removed LabeledModules 2016-09-07 12:25:02 +02:00
Tobias Koppers 119a386153 fixed tests 2016-02-04 14:29:51 +01:00
Tobias Koppers ff16bf4561 Merge branch 'webpack-1'
Conflicts:
	bin/config-optimist.js
	bin/convert-argv.js
	package.json
	test/browsertest/library2config.coffee
2015-11-14 16:32:54 +01:00
Tobias Koppers bb2c3558c0 Support returning Promise and ES6 default export from configuration 2015-11-14 15:34:45 +01:00
Tobias Koppers bf1f1142d0 Chunk loading error handling
fixes #692
fixes #758
fixes #686
fixes #785
2015-10-24 12:20:51 +02:00
Tobias Koppers 383fd717cb allow browsertesting in older browsers 2015-10-24 11:38:00 +02:00
Tobias Koppers 45fcb1fca3 testcase+fix for CommonsChunkPlugin and entries 2015-07-25 15:00:05 +02:00
Tobias Koppers a9dcf436ad fixed tests 2015-07-25 14:54:40 +02: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
Kenny Tran d0611d06b9 Make tests for LimitChunkCountPlugin take objects 2015-05-31 17:27:31 -07:00
Tobias Koppers 3092982afc fixed test cases with updated DefinePlugin 2015-04-14 23:16:09 +02:00
Tobias Koppers 9a800d5979 fixed buggy PRs for webpack.configs
fixes #956
fixes #964
2015-04-10 10:21:38 +02:00
Tobias Koppers 03c87c11a4 support [name] in chunkFilename
fixes #358
2014-07-17 01:52:41 +02:00
Tobias Koppers 1cf64f2676 added typeof support for the DefinePlugin
#282
2014-05-26 12:48:16 +02:00
Tobias Koppers bea08dc1a2 added node-webkit target (experimental)
added option to provide no target
added defaults for node-webkit
allow browsertests to run in node-webkit
2014-04-09 09:12:04 +02:00
Tobias Koppers 6e7bd0c60b allow querystring for assets, fixes #217 2014-03-31 08:45:45 +02:00
Tobias Koppers 3364a26967 upgrade node browser replacements 2014-03-18 22:34:35 +01:00
Tobias Koppers d3a9712193 bug fixing 2014-02-03 18:12:19 +01:00
Tobias Koppers 5e7dfc52cc experimental renaming support 2014-01-31 14:09:08 +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 d89d2c9862 fixed browserbuild 2013-12-17 00:53:07 +01:00
Tobias Koppers 16ebdb5819 96 browser tests are in included in automated tests too 2013-12-15 23:10:41 +01:00
Tobias Koppers d614f95898 fixes #136 2013-12-15 10:31:24 +01:00
Tobias Koppers 63f40c0e76 support fancy array in AMD, support .replace and .split 2013-12-08 14:59:52 +01:00
Tobias Koppers f5e6c6b930 make AMD require work without fn expr 2013-11-27 23:04:14 +01:00
Tobias Koppers 88dbaa4f03 added tests for #123 2013-11-27 13:37:33 +01:00
Tobias Koppers 6de5bb10e0 add short-circut test 2013-11-24 10:36:33 +01:00