Sean Larkin
cbdd0066f5
feat(chunk): Introduct asyncChunkMode and default to 'eager'
2019-01-17 17:00:36 -08: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
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
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
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
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
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
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
f196886f31
Enable node.global by default
2019-01-08 14:37:13 +01:00
Steven Hargrove
b9f52dcb4d
hoist option logic, reduce code paths in handler
2019-01-04 12:40:17 -05:00
Steven Hargrove
2a04deed22
added ExportAllDeclaration, fixed fn signature
2019-01-04 08:53:08 -05:00
Steven Hargrove
41b6887143
use faster statement type check
2019-01-03 14:39:52 -05:00
Tobias Koppers
9c01e81c7c
Merge pull request #8584 from MLoughry/fix-multiple-entry-prefetch
...
Fix emit for prefetching chunks from runtime chunk
2019-01-03 19:36:03 +01:00
Michael Loughry
00af3752e2
Use JSON.stringify
2019-01-03 09:48:02 -08:00
Michael Loughry
387de2554b
Delete extraneous comment
2019-01-02 20:21:02 -08:00
Michael Loughry
186510c7c2
Fix emit for prefetching chunks from runtime chunk
2019-01-02 13:00:40 -08:00
Tobias Koppers
eac069a46b
move isProvided into ModuleGraph
2018-12-31 12:51:35 +01:00
Tobias Koppers
ca430a6715
hash defaults to undefined
...
provide other properties in buildInfo
2018-12-31 12:50:45 +01:00
Tobias Koppers
8c9dc4cfc8
providedExports can't be false
2018-12-31 12:43:03 +01:00
Tobias Koppers
bfc04315ef
add type comment
2018-12-31 12:42:39 +01:00
Tobias Koppers
b2c5f8dc90
remove size difference for wasm modules because of the additional dependency
2018-12-31 12:36:29 +01:00
Tobias Koppers
9048500acf
remove unneeded moduleGraph argument
2018-12-31 12:32:12 +01:00
Tobias Koppers
a414c616cd
used and provided exports are part of module attributes
2018-12-31 12:29:02 +01:00
Tobias Koppers
b5db48291b
add caching to FlagDependencyExportsPlugin
2018-12-31 12:29:01 +01:00
Tobias Koppers
4eecad3a83
remove unnecessary copy of modules
2018-12-31 12:28:59 +01:00
Tobias Koppers
a3c166109e
move NormalModule._buildHash into buildInfo
2018-12-31 12:28:57 +01:00
Tobias Koppers
faefdc0bed
expose exports in LibManifestPlugin
...
use StaticExportsDependency in DelegatedModule
2018-12-31 12:28:55 +01:00
Florent Cailhol
41948853a0
Use StaticExportsDependency to define WASM exports
2018-12-31 12:28:53 +01:00