Commit Graph

8231 Commits

Author SHA1 Message Date
Sean Larkin fbfa969e60 update tests and snapshot 2019-01-22 09:41:23 -08:00
Sean Larkin cbdd0066f5
feat(chunk): Introduct asyncChunkMode and default to 'eager' 2019-01-17 17:00:36 -08:00
Tobias Koppers 4be6797700 5.0.0-alpha.6 2019-01-15 17:39:20 +01:00
Tobias Koppers 3259c62c81
Merge pull request #8409 from hulkish/async-queue-dont-swallow-errors
fix: report existing errors before async queue stop error
2019-01-15 17:29:15 +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 189b647d72 use latest loader-runner 2019-01-15 08:47:47 -05:00
Tobias Koppers 1085bda06d
Merge pull request #8622 from researchgate/perf/buffers-write
Improve memory consumption of file serialization middleware
2019-01-15 10:38:12 +01:00
Sergey Tatarintsev eeb6e2db17 Improve memory consumption of file middleware
Buffers.concat creates a new buffer. On a large project, when using resolver
cache and pack store, total size of buffer can reach hundreds of megabytes. Use
streaming write instead.
2019-01-14 19:20:28 +01:00
Steven Hargrove 13581eebe6 correct err logic 2019-01-14 09:52:27 -05: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
Steven Hargrove 21af6191ab report existing errors before async queue stop error 2019-01-11 19:14:49 -05:00
Sean Larkin 8038555903
Merge pull request #8611 from smikula/better-reasons
Report originally resolved module as part of reasons
2019-01-11 12:23:13 -08:00
Scott Mikula c1e330b800 Add a secondary sort for reasons by resolvedOriginModule 2019-01-11 10:07:37 -08:00
Scott Mikula d649429a8f Report resolved module earlier in reason line 2019-01-11 09:44:51 -08:00
Scott Mikula 2b6cf7e16e Revert "Simplify module-reasons test case"
This reverts commit db710c957f.
2019-01-11 09:41:06 -08:00
Scott Mikula db710c957f Simplify module-reasons test case 2019-01-10 14:02:47 -08:00
Scott Mikula 943165119e Update snapshot again 2019-01-10 12:13:51 -08:00
Tobias Koppers 4f2a214fc0
Merge pull request #8612 from webpack/bugfix/max-stack-compilation
add process.nextTick to avoid long recursion in callbacks
2019-01-10 21:03:36 +01:00
Scott Mikula 07f8140201 Only include resolvedModule in toString output if different, plus tests 2019-01-10 11:47:49 -08:00
Scott Mikula 041e04a9dd Include resolvedModule in toString output 2019-01-10 11:07:04 -08:00
Scott Mikula 1c1f784f7c Add resolveModuleId and resolvedModuleIdentifier to reason 2019-01-10 10:23:19 -08:00
Tobias Koppers 0f7355e170 Merge tag 'v4.28.4' into next
4.28.4
2019-01-10 16:51:17 +01:00
Tobias Koppers fdb6b139b9 4.28.4 2019-01-10 16:48:08 +01:00
Tobias Koppers 61a096049d add process.nextTick to avoid long recursion in callbacks 2019-01-10 16:41:30 +01:00
Tobias Koppers a3a4c1b9b1 add support for evaluating +xx 2019-01-10 15:06:33 +01:00
Tobias Koppers d833a06fb6
Merge pull request #8610 from Connormiha/optimize-split
Use limit for string split
2019-01-10 12:54:19 +01:00
Scott Mikula 53973fb007 Report originally resolved module as part of reasons 2019-01-09 15:45:25 -08:00
Mihail Bodrov fa5bc5bc1f Use limit for array split 2019-01-09 23:35:18 +03:00
Tobias Koppers 0d9ed482bc 5.0.0-alpha.5 2019-01-09 15:20:39 +01:00
Tobias Koppers 6b7080663f
Merge pull request #8601 from webpack/performance/next
Performance fixes for next branch, watchpack update
2019-01-09 15:19:49 +01:00
Tobias Koppers e4d1a45c8d Use FileSystemInfo.createSnapshot for NormalModules too 2019-01-09 14:42:57 +01:00
Tobias Koppers 4492c30ac4 Update watching system to report more timing info to webpack
Add snapshotting feature to FileSystemInfo for better performance
2019-01-09 14:42:54 +01:00
Tobias Koppers e7922011d6 performance improvements for FunctionModuleTemplate 2019-01-08 15:14:38 +01:00
Tobias Koppers 31f2e6d1f7 watch missing items as files not as directories 2019-01-08 15:14:36 +01:00
Tobias Koppers ae4a5e67db insert process.nextTick to get cleaner stacks 2019-01-08 15:14:35 +01:00
Tobias Koppers 90baf475af Smaller performance improvements in NormalModuleFactory 2019-01-08 15:14:33 +01:00
Tobias Koppers 526bc7a788 removed queue entry from AsyncQueue on invalidate 2019-01-08 15:14:31 +01:00
Tobias Koppers 0fd50ddd84 avoid JSON.stringify for better performance 2019-01-08 15:14:30 +01:00
Tobias Koppers 4bdf08df7b AsyncQueue._queued to array, remove nextTick 2019-01-08 15:14:29 +01:00
Tobias Koppers 1053620f46 merge Maps and Sets into single Map with all info 2019-01-08 15:14:27 +01:00
Tobias Koppers ef9e25d8ea report dependencies from resolver to the compilation
refactor NormalModuleFactory
2019-01-08 15:14:25 +01:00
Tobias Koppers b97bc4bc06 5.0.0-alpha.4 2019-01-08 15:09:43 +01:00
Tobias Koppers 7b6fac1d22
Merge pull request #8602 from webpack/bugfix/enable-global
Enable node.global by default
2019-01-08 15:08:28 +01:00
Tobias Koppers f196886f31 Enable node.global by default 2019-01-08 14:37:13 +01:00
Tobias Koppers b133ebeb25
Merge pull request #8592 from hulkish/hoist-plugin-logic
perf: hoist option logic, reduce code paths in handler
2019-01-07 21:26:40 +01:00
Steven Hargrove b9f52dcb4d hoist option logic, reduce code paths in handler 2019-01-04 12:40:17 -05:00