Commit Graph

124 Commits

Author SHA1 Message Date
Tobias Koppers d34d69e62b Merge tag 'v4.29.5' into next
4.29.5
2019-02-19 08:58:46 +01:00
Tobias Koppers 75a9a515fd fix prettierignore file and run prettier 2019-02-18 09:23:08 +01:00
mc-zone 4f3e0d27b5 Merge branch 'next' into feat_afterDone_hook 2019-01-13 11:24:32 +08:00
Tobias Koppers 0f7355e170 Merge tag 'v4.28.4' into next
4.28.4
2019-01-10 16:51:17 +01:00
mc-zone 9877a677d8 refactor: remove closed check for afterDone calling in Watch; refactor tests 2018-12-26 21:56:19 +08:00
mc-zone 351f197685 feat: add tests for compiler.afterDone 2018-12-25 15:08:45 +08:00
Florent Cailhol 9caaa664f7 Refactor webpack main 2018-12-09 15:32:03 +01:00
Tobias Koppers d544027af7 fix Compiler test 2018-12-07 16:37:22 +01:00
Shah Kashani 217b2ad7e2 Fix for #8398 - call failed-hook on compilation errors 2018-11-21 11:16:25 -05:00
Tobias Koppers fe66257770
Merge pull request #8276 from smelukov/deterministic-module-ids-in-prod
Set deterministic module ids in prod by default
2018-11-05 08:09:57 +01:00
Lex Alexander 84bc9bce48 test(Compiler): Promisifed webpack returns errors as a return value
Fixes #8298
2018-11-04 09:40:51 +01:00
Sergey Melyukov c7e67b48ca fix tests 2018-10-25 18:57:23 +03:00
Tobias Koppers 8256249703 longer timeouts for Compiler test 2018-10-24 15:56:50 +02:00
renatoagds 5e112dbfbe update watchMode tests 2018-10-23 15:12:36 -03:00
renatoagds 22553427d4 fix prettier lint 2018-10-22 20:12:42 -03:00
renatoagds b6dda49add check if watch mode is trigger when use watch 2018-10-22 20:01:07 -03:00
Tobias Koppers 753dcce188 fix order of occurrence order plugin
remove enforced additional occurrence order plugin from test cases
make test cases more independent of module/chunk order/ids
2018-07-13 16:15:01 +02:00
Tobias Koppers 2fa0ea62e7 add missing semicolon 2018-06-20 10:23:26 +02:00
Tobias Koppers 064967128e add test case for #7533 2018-06-19 21:41:23 +02:00
Florent Cailhol f63d6fa4bb Replace sinon by jest's mocks 2018-05-07 15:26:09 +02:00
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
Maksim e225d1005c Fix compiler tests 2018-03-07 12:16:40 +03:00
Maksim Nazarjev 81a1cd8caa Lint the tests 2018-03-07 01:31:14 +03:00
Maksim Nazarjev 07c1f6d86f Prevent webpack from running twice at a time 2018-03-07 00:56:31 +03: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 cd419d0546 Migrate integration tests to Jest 2018-01-24 17:29:57 +01:00
Tobias Koppers 2b33f647b1 remove bad unit tests 2018-01-03 18:07:40 +01:00
Tobias Koppers 08eb0fffb0
Merge pull request #6217 from ooflorent/move_watching
Move Watching to its own file
2018-01-02 09:37:50 +01:00
Florent Cailhol 0014042c53 Move Watching to its own file 2017-12-31 18:16:03 +01:00
Tobias Koppers 0abdc0aed0 add test case for no emit in watch mode 2017-12-31 09:59:12 +01:00
Tobias Koppers cf1d7b8949 `-!` keeps post loader instead of pre loader
add more test cases
2017-12-30 19:34:14 +01:00
Tobias Koppers 20678c6611
Merge pull request #6150 from webpack/bugfix/concat-unused-modules
fix unnecessary module concatenation
2017-12-21 08:46:36 +01:00
Florent Cailhol e58e1f9261 Use hooks in test cases 2017-12-21 07:17:27 +01:00
Tobias Koppers 878f2882ad update test cases for changed order 2017-12-20 20:41:22 +01:00
Tobias Koppers 2148f556a4 Enable minimizing in production mode 2017-12-14 00:06:56 +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 f55547ca6a Merge branch 'master' into next
# Conflicts:
#	lib/Compiler.js
2017-11-23 09:14:58 +01:00
EugeneHlushko f14c301dba Improvement: Ensure util.depracation use for deprecation warnings 2017-11-20 12:02:10 +02:00
Tobias Koppers 36544088b7 bugfix for changed API of options defaulter 2017-09-22 15:03:30 +02:00
Tobias Koppers 7387c50c3a change jsonp function to jsonp array push 2017-09-14 08:49:14 +02:00
Tobias Koppers 460e6b68e1 remove incorrect tests 2017-09-13 16:51:24 +02:00
Kyle Truong 4266ab86cd - Fix compiler test as discussed in PR 2017-07-07 09:11:15 -04:00
Kyle Truong 13bc80b1a4 - Put Watching as a property on Compiler rather than a static method 2017-07-07 09:11:15 -04:00
Kyle Truong 4378c92c60 - Add more tests 2017-07-07 09:11:15 -04:00
Kyle Truong bfd5ed9bfd - Fix linter issues 2017-07-07 09:11:15 -04:00
Kyle Truong f080ebe0ee - Add tests to Compiler and Watching 2017-07-07 09:11:15 -04:00
Tobias Koppers 890a507b08 optimize OccurenceOrderPlugin 2017-06-02 01:24:55 +02:00
Tobias Koppers 26f79f5b30 Merge branch 'master' into fix/node_modules_mangle 2017-04-11 08:40:15 +02:00
Tobias Koppers 951d066b51 fixup spacing 2017-02-28 18:26:49 +01:00
Tobias Koppers fb47ec670d fixup spacing 2017-02-28 18:25:41 +01:00
Tobias Koppers 918fd1d6ac fixup incorrect merge 2017-02-28 18:24:24 +01:00
Tobias Koppers 6763b3d7a8 Merge branch 'master' into refactor-test-Compiler 2017-02-28 18:23:24 +01:00
Tim Sebastian 842b6ccc0e remove trailing whitespace 2017-02-09 22:57:09 +11:00
Tobias Koppers fcb219d968 change output filesystem to be in memory and linux style 2017-02-09 12:28:26 +01:00
Tim Sebastian 8ccf068c59 fix linting issues of touched files 2017-02-02 22:56:41 +11:00
Tim Sebastian 3ba9ed99c0 fix existing tests that failed schema validaton 2017-02-02 22:36:15 +11:00
Tobias Koppers dca8e62b60 don't shorten node_modules to ~
it's confusing
2017-02-01 14:19:16 +01:00
Shubheksha Jalan b995cd55d3 refactor(ES6): Compiler.test.js 2017-01-18 13:33:37 +05:30
Alistair Brown 7a43c0ef25 Update missing should type check calls 2017-01-02 00:44:24 +00:00
Tobias Koppers bd10fca49a use webpack instead of Compiler in test 2016-12-21 23:39:39 +01:00
Tobias Koppers ea3b2303a8 fixes an error where errors are not cleared in cached module 2016-12-16 19:12:47 +01:00
Tobias Koppers f4ab7fc7e2 more performance improvements 2016-12-14 16:22:54 +01:00
Tobias Koppers 259c346062 fixed tests 2016-01-14 21:21:12 +01: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 c92491ff30 better default for chunkFilename and tests 2015-05-16 16:10:25 +02:00
Tobias Koppers 9a2f74fd20 fixed tests 2015-03-05 22:36:26 +01:00
Corporateanon 65079e966c Compiler does not work with windows paths 2015-01-05 15:13:11 +02:00
Tobias Koppers 543543e4bf fixed test 2014-07-27 20:39:22 +02:00
Tobias Koppers 42c82f6b77 refactored ModuleTemplate to plugin interface 2014-06-03 08:45:26 +02:00
Tobias Koppers 0fea43b4cb rename generated require to __webpack_require__
fixes #141
fixes RubenVerborgh/N3.js#18
2014-03-03 14:56:17 +01:00
Tobias Koppers bc843d005c fixed even more of the tests 2013-10-16 08:57:37 +02:00
Tobias Koppers b264620be2 updated dependencies 2013-10-15 22:33:11 +02:00
Tobias Koppers ee01837d66 Refactored everything for 0.9 2013-01-30 18:49:25 +01:00