Commit Graph

84 Commits

Author SHA1 Message Date
Nick Schonning a19d7991c3
chore: update cSpell globs and fix typos 2021-12-12 16:57:14 -05:00
Tobias Koppers b29c44e223 add separate webpack warmup step with large timeout 2021-07-15 16:37:54 +02:00
Tobias Koppers 6ca8505f26 Merge branch 'main' into dependabot/npm_and_yarn/jest-27.0.4 2021-07-05 16:10:02 +02:00
Tobias Koppers 54f40f44e6 fix CI performance issues 2021-07-05 13:38:32 +02:00
Tobias Koppers 1ac0278e34 increase timeout 2021-06-26 08:23:54 +02:00
Tobias Koppers 1ab3507cf0 warmup compiler for errors tests 2021-06-25 20:36:46 +02:00
Tobias Koppers d924dba873 Merge branch 'master' into dependabot/npm_and_yarn/jest-27.0.4 2021-06-22 09:49:11 +02:00
Tobias Koppers c5763e1eb1 fix test problems 2021-06-22 09:39:17 +02:00
Tobias Koppers 5e47f5ef3c fix import 2021-06-21 10:53:35 +02:00
Tobias Koppers 1ce758bce8 fix snapshot 2021-02-05 16:29:26 +01:00
Tobias Koppers 1ca9f85d4e improve and align error message 2021-01-18 16:22:07 +01:00
Nitin Kumar ea9f5c4fb8 tests: for invalid library name error message 2021-01-18 16:16:37 +01:00
Tobias Koppers 4da880e658 remove Array.prototype.reduce calls to simplify code 2020-01-21 09:45:25 +01:00
Tobias Koppers d57820c53e make RequestShortener simpler, only use relative path 2020-01-15 18:48:37 +01:00
Tobias Koppers 66d7ebd9a8 fix Errors for require.parent/main.require 2019-12-06 11:13:13 +01:00
Tobias Koppers 5261758bed update test cases and snapshots 2019-11-04 21:11:16 +01:00
Tobias Koppers fc04bf15bc Do not show stack trace of errors in stats by default
Add new `stats.errorStack` option to display it anyway.
2019-10-15 07:43:37 +02:00
Tobias Koppers fe790eea65 update eslint and lint-staged 2019-08-06 10:57:37 +02:00
Tobias Koppers b2e7837288 replace Object.assign with object spread 2019-06-19 13:16:05 +02:00
Tobias Koppers 6db94536ad Merge tag 'v4.34.0' into next
4.34.0
2019-06-13 10:51:12 +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
Lex Alexander 2cd6489579 Added test to account for module parsing failure for binary files 2019-06-04 11:45:48 -07:00
Tobias Koppers aa78e27a44 fix splitting of windows newlines
move fixture
update snapshots
2019-06-04 14:48:46 +02:00
Tobias Koppers 45582c51e7 avoid loading from rule set, simplify 2019-06-03 17:00:50 +02:00
Lex Alexander 1c6e7a9344 feat(NormalModule/ModuleParseError): Show loaders used from config when module parsing fails
-Closes #9025
2019-05-29 14:11:49 -07:00
Tobias Koppers 8bd62c353c fix merge issue 2019-05-09 21:54:24 +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 9181283029 fix newlines 2019-01-15 17:10:54 +01:00
Tobias Koppers 78cee8b319 simplify regexp
[^()]+\(?.*\)? is equal to .*
2019-01-15 15:14:03 +01:00
Tobias Koppers 4d87fffad3 include loc in snapshots 2019-01-15 15:09:52 +01:00
Steven Hargrove e6864e4ac6 support windows for snapshot 2019-01-12 22:35:19 -05:00
Steven Hargrove 82b7428a4c rewrite errors tests, cleanup, update snapshots 2019-01-12 22:35:12 -05:00
Steven Hargrove e6afd236c4 added tests for swallowed loader errors, fixed another swallowed error 2019-01-11 19:14:49 -05:00
Tobias Koppers 123b0a64e7 add plugin system for Stats presets, defaults, creation and printing 2018-12-18 22:07:14 +01:00
Florent Cailhol 9caaa664f7 Refactor webpack main 2018-12-09 15:32:03 +01:00
Tobias Koppers a262b83580 remove globalPath and useChunkHash feature
It's no longer needed, because we hash the runtime how
2018-10-24 09:39:51 +02:00
Tobias Koppers 5b7987abf4 remove console.log 2018-10-17 21:25:46 +02:00
Tobias Koppers 3c244d9fc9 Optimize error origin handling and module trace
Improve warnings and errors sorting
2018-09-12 13:16:59 +02:00
Abdulrahman Alkhelaifi 80c3e433c4 Handle module.require, require.main.require, and module.parent.require
- Resolve module.require dependencies

- Add require.main.require and module.parent.require as unsupported
2018-07-19 13:41:58 -07:00
Tobias Koppers 7765901cc6 fix test case 2018-06-05 16:50:37 +02:00
Tobias Koppers ca8edc0d6d Fix test case for changed error message 2018-06-05 13:41:14 +02:00
Ma Cheng 957ee2a63e
Merge branch 'master' into feature/module-build-error-with-loader-name 2018-06-02 17:19:16 +08:00
Tobias Koppers 4a541303c9 Upgrade jest
increase timeout
fix hanging
avoid inspector in CI
setup jest caching
2018-05-24 12:52:48 +02:00
mc-zone 1159935fe8 change tests to Jest 2018-05-01 22:44:37 +08:00
Ma Cheng 3e66954ec1
Merge branch 'master' into feature/module-build-error-with-loader-name 2018-05-01 21:34:27 +08:00
mc-zone 92a28df10a add done() 2018-04-29 11:59:50 +08:00
mc-zone 9c13d51141 improve message format; prevent destructure crash; improve tests; 2018-03-18 22:56:36 +08:00
mc-zone ce63b53522 remove loader origin name and purify 2018-03-02 17:57:46 +08:00
mc-zone 36303a0ae8 merge from master 2018-03-02 17:56:34 +08:00
Bazyli Brzóska 36e8e30875 run prettier on existing code 2018-02-25 11:46:17 +01:00