Florent Cailhol
fc17a59f5e
Reimplement tapable types
2018-08-25 08:42:22 +02:00
Tobias Koppers
ef27840f94
Merge pull request #7951 from webpack/refactor/update-hash-chunk-graph
...
Use ChunkGraph instead of Compilation in updateHash
2018-08-24 14:30:05 +02:00
Tobias Koppers
239ce7fcd9
Use ChunkGraph instead of Compilation in updateHash
2018-08-24 12:02:42 +02:00
Tobias Koppers
d4abcc476f
Merge pull request #7943 from webpack/refactor/should-render
...
use JavascriptModulesPluginHooks.shouldRender correctly
2018-08-24 11:21:04 +02:00
Tobias Koppers
402cf189ce
use JavascriptModulesPluginHooks.shouldRender correctly
2018-08-23 16:54:41 +02:00
Tobias Koppers
98964592ad
Merge pull request #7934 from webpack/refactor/module-graph
...
Refactor/module graph
2018-08-23 08:30:45 +02:00
Tobias Koppers
670502fc81
Move AsyncDependenciesBlock.chunkGroup into ChunkGraph
2018-08-22 20:17:49 +02:00
Tobias Koppers
3aa2280498
move Module.hash and .renderedHash into ChunkGraph
2018-08-22 19:24:54 +02:00
Tobias Koppers
190a8af6d4
Merge pull request #7933 from webpack/refactor/module-graph
...
Refactor/module graph
2018-08-22 19:22:59 +02:00
Tobias Koppers
eb63cf80d6
move built flag into Compilation
2018-08-22 15:33:16 +02:00
Tobias Koppers
e0f84652c0
remove Module.prefetched
...
remove prefeteched from Stats
make Compilation.addModuleChain public and remove onModule argument
remove Compilation.prefetch
2018-08-22 15:19:05 +02:00
Tobias Koppers
b20556c1ff
move profile to ModuleGraph
2018-08-22 14:54:28 +02:00
Tobias Koppers
4135c6e683
remove some unnecessary moduleGraph arguments and property accesses
2018-08-22 12:45:14 +02:00
Tobias Koppers
26022c86a0
move Module.depth into ModuleGraph
...
nested modules no longer have depth and stay unsorted in stats
2018-08-22 12:45:11 +02:00
Tobias Koppers
fe54d717a2
refactor sorting in Stats
2018-08-22 12:45:08 +02:00
Tobias Koppers
4f65deb7dd
Merge tag 'v4.17.1' into next
...
4.17.1
2018-08-22 12:43:12 +02:00
Tobias Koppers
ff3ef5eb28
4.17.1
2018-08-22 11:50:11 +02:00
Tobias Koppers
58773adf0b
Merge pull request #7931 from webpack/bugfix/concatenated-star-export
...
fixes #7930
2018-08-22 11:48:44 +02:00
Tobias Koppers
a92c23ef76
fixes #7930
2018-08-22 11:11:37 +02:00
Tobias Koppers
8fff814298
Merge pull request #7926 from webpack/refactor/module-graph
...
Refactor/module graph
2018-08-21 19:12:02 +02:00
Tobias Koppers
5a78e96dc9
add backward-compat layer for ModuleGraph and ChunkGraph
2018-08-21 16:17:02 +02:00
Tobias Koppers
42167db4af
move Module.index and index2 into ModuleGraph
2018-08-21 16:16:51 +02:00
Tobias Koppers
4dfe88edb0
add moduleGraph argument to comparators
2018-08-21 11:08:07 +02:00
Tobias Koppers
0f1f69a9d6
hide id overriding in HarmonyImportSpecifierDependency
2018-08-21 11:06:59 +02:00
Tobias Koppers
a875ddba5b
refactor ModuleGraph to use internal dependency
2018-08-21 11:06:00 +02:00
Tobias Koppers
3bb5263bfd
move methods from Module into ModuleGraph
2018-08-21 11:04:40 +02:00
Tobias Koppers
c21d59f783
Merge tag 'v4.17.0' into next
...
4.17.0
2018-08-21 11:02:16 +02:00
Tobias Koppers
6f1f18f84d
4.17.0
2018-08-21 10:41:50 +02:00
Tobias Koppers
45e798af68
Merge pull request #7827 from AoDev/feat/ignore-plugin-check-fn
...
feat(IgnorePlugin): allow user to provide his own check functions
2018-08-21 10:24:32 +02:00
Tobias Koppers
ed9691585e
Merge pull request #7907 from Connormiha/simplify-context-replacmnet-plugin
...
Get rid of typeof for checking undefined
2018-08-21 10:21:29 +02:00
Mihail Bodrov
1f954b4f12
Get rid typeof undef in all lib
2018-08-21 03:26:50 +03:00
Tobias Koppers
c2e03951f4
Merge pull request #7922 from webpack/bugfix/concat-globals
...
fix exporting globals in scope-hoisted modules
2018-08-20 18:09:37 +02:00
Tobias Koppers
9315ce29aa
fix exporting globals in scope-hoisted modules
...
fixes #7905
2018-08-20 10:54:05 +02:00
Tobias Koppers
0e60343dca
Merge pull request #7921 from webpack/bugfix/contenhash-id
...
chunk ids contribute to contenthash for javascript
2018-08-20 10:36:02 +02:00
Tobias Koppers
c253b4b130
chunk ids contribute to contenthash for javascript
...
fixes #7915
2018-08-20 10:04:33 +02:00
Mihail Bodrov
efa69cd628
Get rid of typeof for checking undefined
2018-08-17 00:49:30 +03:00
Tobias Koppers
7d56a6067b
Merge pull request #7824 from webpack/refactor/stage_optim
...
Replace Basic and Advanced optimzation hooks by stages
2018-08-16 16:07:41 +02:00
Florent Cailhol
a61778aad4
Change stage values
2018-08-16 14:10:55 +02:00
Florent Cailhol
7b02084bc5
Replace Basic and Advanced optimzation hooks by stages
2018-08-16 14:10:51 +02:00
Tobias Koppers
a6e1c0693c
add TODOs
2018-08-16 14:10:39 +02:00
Tobias Koppers
abbb6bb634
Merge pull request #7896 from webpack/refactor/entry-modules
...
allow multiple entryModules per chunk
2018-08-16 10:43:13 +02:00
Tobias Koppers
2dc22d0db0
add SingleEntryPlugin as deprecated export
2018-08-15 21:10:35 +02:00
Tobias Koppers
6d5310fbd6
allow multiple entryModules per chunk
...
allow to specify ChunkGroup to depend on
move entry modules into ChunkGraph
2018-08-15 11:51:16 +02:00
Kevin Purnelle
6235e99248
feat(IgnorePlugin): allow user to provide his own check functions
...
The user can provide checkResource and checkContext functions that
will be called with current resource or context respectively.
These functions should return a boolean to decide whether the module
should be ignored or not.
Now the constructor can accept a single option object.
```
const resourceRegExp = /a_regex/
const contextRegExp = /another_regex/
// before:
new webpack.IgnorePlugin(resourceRegExp, contextRegExp)
// alternative:
new webpack.ignorePlugin({resourceRegExp, contextRegExp})
```
Note that from Webpack 5, only passing an object will be allowed,
so we could encourage people to migrate already.
2018-08-14 17:20:10 +02:00
Tobias Koppers
655d57f2d7
Merge pull request #7889 from webpack/refactor/chunk-graph
...
add ChunkGraph
2018-08-14 16:24:32 +02:00
Tobias Koppers
a02bf9960d
Merge pull request #7886 from Sibiraj-S/patch-1
...
[Docs] Update README.md
2018-08-14 15:33:45 +02:00
Tobias Koppers
3cf01999b5
add ChunkGraph
...
move chunk modules and module chunks into the ChunkGraph
remove outdated unit tests
2018-08-14 15:32:13 +02:00
Tobias Koppers
aba6dbf3c6
Merge pull request #7888 from webpack/bugfix/issue-7887
...
fixes #7887
2018-08-14 12:12:30 +02:00
Tobias Koppers
1345ab252d
fixes #7887
2018-08-14 11:25:59 +02:00
Tobias Koppers
f72d36b9cb
add support for generics to tooling
2018-08-14 11:20:20 +02:00