Commit Graph

87 Commits

Author SHA1 Message Date
Gergely Nagy aea4fd97b5 do not evaluate constants in asm.js, fix IIFE mode detection
fixes #10283
2020-01-22 15:41:45 +01:00
Tobias Koppers 019e35bf26 fix test case 2019-11-04 11:42:12 +01:00
Tobias Koppers fe790eea65 update eslint and lint-staged 2019-08-06 10:57:37 +02:00
Tobias Koppers b73d35bbee Merge tag 'v4.39.0' into next
4.39.0
2019-08-05 13:12:09 +02:00
Tobias Koppers b89853ea12 fix Compiler logging test 2019-08-01 14:04:22 +02:00
Tobias Koppers c17dfde7a8 Merge tag 'v4.37.0' into next
4.37.0
2019-07-24 10:51:04 +02:00
Tobias Koppers 7b31890a2f more tests
add none as loglevel
2019-07-22 10:35:26 +02:00
Tobias Koppers b6138c18a1 add infrastructure test 2019-07-22 09:22:51 +02:00
Tobias Koppers 8e3d61e953 make test to not loop again and again 2019-07-10 15:01:13 +02:00
Tobias Koppers b3e86a97e3 fix linting issues 2019-07-10 14:58:31 +02:00
Tobias Koppers 35791372c9
Merge branch 'next' into feat_afterDone_hook 2019-07-09 21:14:40 +02:00
Tobias Koppers e9c0d068dd refactor filesystem interfaces
add Compiler.intermediateFileSystem
avoid using `path` and `fs` module when possible
move `join`, `mkdirp` and `dirname` into utils
join and dirname is optional in FileSystem interface
remove mkdirp from Filesystem interface
2019-06-11 17:32:58 +02:00
Tobias Koppers 924daa105b Use simpler/faster hash function to get a hash number
Use deterministic mangled names for exports
refactor assignDeterministicIds
rename __webpack_init__ function in wasm to ""
fix bug with incorrectly cached StaticExportsDependency
fix bug in hash logic of Module
2019-02-20 22:41:07 +01:00
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