Commit Graph

87 Commits

Author SHA1 Message Date
Bazyli Brzóska f0ef3fd6ae add testConfig.timeout to ConfigTestCases 2018-01-27 16:34:51 +01:00
Bazyli Brzóska 37e002cd38 ConfigTextCases: add expect to globalContext 2018-01-27 16:04:17 +01:00
Bazyli Brzóska 009772cb20 jest migration: use forced tests 2018-01-26 22:26:41 +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
Tobias Koppers 0b26a6b777 disable minimizer for config test cases 2018-01-10 17:10:12 +01:00
Tobias Koppers b824776c1b better error reporting in config cases 2017-11-27 15:04:53 +01:00
Tobias Koppers 2201b860a5 Add mode option and choose defaults depending on mode
add optimization options
use development mode for watch/hot/config tests
use production mode for integration/stats tests
create output directory if not existing
move __esModule to runtime
fix dependency behavior for cases without usedExports
2017-11-24 08:17:17 +01:00
Tobias Koppers 5941ab0d0c fix linting errors 2017-11-15 14:08:11 +01:00
Tobias Koppers 2919a9cd53 prevent crashing when error out early in bail mode
fixes #5787
2017-10-11 15:28:18 +02:00
Tobias Koppers 9357ae0254 Refactor precendence rules for harmony exports for better performance
fixes #5763
2017-10-09 15:28:59 +02:00
Anders D. Johnson 24ac48d2f5
feat: support config functions with multi-compiler 2017-07-01 13:28:20 -05:00
Shubheksha Jalan 0ae224335b refactor(ES5): ConfigTestCases.test.js 2017-01-18 14:38:00 +05:30
Sean Larkin 56924c6f13 feat(test): increase coverage for target: 'webworker' (#3204)
* feat(test): increase coverage for target: 'webworker'

* fixed bad test cases, and added generic node shimming for web workers
2016-12-28 07:49:26 -06:00
Sean Larkin c3bd0e2faa dont poll config while filtering test suites 2016-12-23 00:17:57 -06:00
Sean Larkin 7973da8cf9 ensured that filter was excluding tests with arrow functions. finally 🐛 2016-12-23 00:10:06 -06:00
Sean Larkin 288111b018 extracted config gathering fn 2016-12-22 13:35:02 -06:00
Sean Larkin 2f8e3fcebb fix(tests): add filter infra to ConfigTestCases 2016-12-22 13:29:03 -06:00
Sean Larkin 1999af3ef6 feature(alias): allow loader query to be used for aliased loader 2016-12-08 02:58:56 -06:00
Tobias Koppers bb9d307b2e fixed dll test cases 2016-09-21 17:26:25 +02:00
Tobias Koppers 9ccbd260b5 more info in tests stats.txt files 2016-09-07 09:46:27 +02:00
Tobias Koppers c7261412cf added test case for commons chunk plugin with umd library
#2066
2016-07-20 15:11:29 +02:00
Tobias Koppers 7109be58b3 detect main module more reliable
#2648
2016-06-16 01:05:17 +02:00
Tobias Koppers f4d43024c3 increase timeout for tests 2016-05-27 11:04:37 +02:00
Tobias Koppers 5aa5ca6961 added test case for DllPlugin and chunks in dlls
#1948
2016-01-30 11:43:53 +01:00
Tobias Koppers fecf07dd1f integrated new enhanced-resolve version 2016-01-03 21:42:56 +01:00
Tobias Koppers 461c49ab66 updated partly to new enhanced-resolve API 2016-01-02 00:21:54 +01:00
Tobias Koppers 7934faa181 Merge branch 'master' into webpack-2
Conflicts:
	.travis.yml
	bin/config-optimist.js
	package.json
	test/TestCases.test.js
2015-08-09 13:32:19 +02:00
Tobias Koppers c0afdf9c6a beautify tests, lint hot and scripts 2015-08-09 12:42:43 +02:00
Tobias Koppers c92491ff30 better default for chunkFilename and tests 2015-05-16 16:10:25 +02:00
Tobias Koppers ffd9cce20a move semicolon to a later location in bundle #830 2015-03-03 20:24:46 +01:00
Johannes Ewald 4c6069bbc3 Pass sandbox to vm.runInNewContext() 2015-01-07 13:38:20 +01:00
Johannes Ewald 4127d2ef1e Add tests for global shims and module shims in web environments 2015-01-06 18:21:33 +01:00
Jason Anderson f371945a29 Add TemplatedPathPlugin 2014-09-11 15:31:08 +02:00
Tobias Koppers 0ef93c79df add entry-not-found testcase 2014-08-04 18:08:52 +02:00
Tobias Koppers 572ebfcd51 use correct (relative) url to source map 2014-07-16 20:57:10 +02:00
Tobias Koppers 1e37053f7e Sorted out some MultiCompiler issues 2014-06-18 23:02:33 +02:00
Tobias Koppers 472558c0d6 added config test infrastructure 2014-06-17 22:34:30 +02:00