Tobias Koppers
bad9d8a271
move Module.id into ChunkGraph
...
remove disconnect and unseal from Module
2018-08-28 15:08:52 +02:00
Tobias Koppers
4135c6e683
remove some unnecessary moduleGraph arguments and property accesses
2018-08-22 12:45:14 +02:00
Tobias Koppers
4dfe88edb0
add moduleGraph argument to comparators
2018-08-21 11:08:07 +02:00
Tobias Koppers
a6e1c0693c
add TODOs
2018-08-16 14:10:39 +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
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
11e127d162
pass moduleGraph along with multiple methods
2018-08-02 17:54:42 +02:00
Tobias Koppers
cf5f1d723c
format existing code
2018-07-30 21:29:21 +02:00
Tobias Koppers
2b14ddc984
Merge tag 'v4.16.0' into next
...
4.16.0
2018-07-11 11:13:47 +02:00
Tobias Koppers
559cf94edb
Simplify imports
2018-07-09 15:09:00 +02:00
Tobias Koppers
0c5433ce6f
Merge pull request #7673 from webpack/refactor/jsonp_hooks
...
Use JsonpMainTemplatePlugin.hooks instead of MainTemplate#hooks
2018-07-09 13:19:29 +02:00
Florent Cailhol
c9bd29cdf5
Add type guard
2018-07-09 08:44:50 +02:00
Florent Cailhol
8e456f58ec
Use JsonpMainTemplatePlugin.hooks instead of MainTemplate#hooks
2018-07-06 13:19:03 +02:00
Florent Cailhol
854bdafce4
Remove webpack.web.js and its deps
2018-07-06 11:48:19 +02:00
Tobias Koppers
5c4ffd5b90
fix tests and code
2018-06-28 11:11:24 +02:00
Tobias Koppers
6478fb9e2a
Merge branch 'master' into crossorigin-attr
2018-06-28 10:27:45 +02:00
Tobias Koppers
e38e076b98
fixes #7577
2018-06-26 17:19:37 +02:00
Ryan Tsao
2755a0e82b
Remove redundant code after merge
2018-06-12 14:34:23 -07:00
Ryan Tsao
774c0b9d89
Merge branch 'master' into crossorigin-attr
2018-06-12 14:13:52 -07:00
Tobias Koppers
ff224a7cee
Merge branch 'master' into master
2018-06-07 17:47:04 +02:00
Tobias Koppers
f28bb4e60e
add webpack 5 comment
2018-06-07 14:16:26 +02:00
Tobias Koppers
8e3be48da4
allow to disable wasm import mangle
...
disable it by default (temporary)
2018-06-05 23:49:02 +02:00
Tobias Koppers
c77ec391d2
revert afterStartup and trigger prefetch before startup
...
This makes more sense as startup could take a while
and we can use the time to fetch some resources
2018-06-04 18:10:00 +02:00
Tobias Koppers
db668b7549
move fake document to ConfigTestCases
...
minor style issues
add test case
2018-06-04 17:49:55 +02:00
Michael Loughry 👨💻
0d21ce197c
Address most of Sokra's comments
...
- [x] Don't emit prefetch code if not needed
- [x] Only affect StatsTestCase dealing with prefetching
- [x] Fix existing prefetch test case
- [ ] Trigger prefetch after startup code runs
- [ ] Add new test(s)
2018-06-01 10:51:39 -07:00
Ryan Tsao
c0e8b8a752
Merge branch 'master' into crossorigin-attr
2018-05-31 16:47:39 -07:00
Michael Loughry 👨💻
8a995da749
Split the map among the chunks
2018-05-30 15:36:50 -07:00
Michael Loughry 👨💻
685cbcdf54
Initial rework per sokra's suggestion
2018-05-30 14:36:53 -07:00
Michael Loughry 👨💻
e483682637
Revert "Prefetch and preload from entry chunk."
...
This reverts commit eefacf3f2a .
2018-05-30 10:17:19 -07:00
Michael Loughry 👨💻
8636670169
Revert "Add output.entryPrefetchFunction option, and don't immediately prefetch"
...
This reverts commit b642403d86 .
2018-05-30 10:17:16 -07:00
Michael Loughry 👨💻
d26617a0ff
Revert "Run prettier"
...
This reverts commit 7458526759 .
2018-05-30 10:17:07 -07:00
Michael Loughry 👨💻
7458526759
Run prettier
2018-05-29 17:15:39 -07:00
Michael Loughry 👨💻
b642403d86
Add output.entryPrefetchFunction option, and don't immediately prefetch
...
Rather than calling the prefetch function on its own during bootstrap, this change exposes the function as a function that can be called from the compiled code.
2018-05-29 16:58:30 -07:00
Michael Loughry 👨💻
eefacf3f2a
Prefetch and preload from entry chunk.
...
Following up on @sokra's work in #7056 , this change addresses #7084 to have webpack prefetch and preload designated chunks from the entry chunk.
2018-05-29 15:51:10 -07:00
Florent Cailhol
2a9452e51b
Add brackets for multiline if/for statements
2018-05-29 15:45:44 +02:00
aleen42
9e136cd5d4
fix: proper way for inner declaration of a function. #7263
...
Use a varaible declaration outside a condition block instead, according to https://eslint.org/docs/rules/no-inner-declarations
2018-05-29 14:10:07 +08:00
Tobias Koppers
3f183b5a2a
Merge pull request #7210 from gluecodes/master
...
fix: ReferenceError: onScriptComplete is not defined when using HMR o…
2018-05-28 08:48:16 +02:00
Konstantin Kolesnikov
5d05136904
Refactor JsonpMainTemplatePlugin
2018-05-27 00:27:17 +03:00
Ryan Tsao
009fe74f22
Merge branch 'master' into crossorigin-attr
2018-05-17 21:03:28 -07:00
Tobias Koppers
9791c0b5c8
fix spacing
2018-05-15 08:32:08 +02:00
Krzysztof Czopp
bbb9f38b71
fix: ReferenceError: onScriptComplete is not defined when using HMR on Firefox 45
2018-05-11 16:22:27 +01:00
Tobias Koppers
00b0364c8f
Merge pull request #7144 from webpack/next
...
Upgrade to the WASM toolchain
2018-05-07 12:15:48 +02:00
Tobias Koppers
0a6ba9552e
avoid injection jsonpScriptSrc function when not needed
...
fixes #7185
2018-05-04 12:47:27 +02:00
Tobias Koppers
4702ee9016
Use compile/compileStreaming when importObject is a Promise
2018-04-30 08:35:06 +02:00
Tobias Koppers
c7ee3d285c
pretty file
2018-04-28 08:53:30 +02:00
Tobias Koppers
9156be961d
rename and move BaseWasmMainTemplatePlugin
...
align usage with other plugins
2018-04-27 19:02:02 +02:00
Tobias Koppers
82a71be1dc
Cleanup, refactoring, types
2018-04-27 18:53:07 +02:00
Tobias Koppers
f876564b84
Merge branch 'master' into feat-rewrite-wasm
...
# Conflicts:
# test/statsCases/aggressive-splitting-entry/expected.txt
# test/statsCases/aggressive-splitting-on-demand/expected.txt
# test/statsCases/chunks-development/expected.txt
# test/statsCases/chunks/expected.txt
# test/statsCases/import-context-filter/expected.txt
# test/statsCases/import-weak/expected.txt
# test/statsCases/limit-chunk-count-plugin/expected.txt
# test/statsCases/module-assets/expected.txt
# test/statsCases/named-chunks-plugin-async/expected.txt
# test/statsCases/optimize-chunks/expected.txt
# test/statsCases/preset-detailed/expected.txt
# test/statsCases/preset-normal/expected.txt
# test/statsCases/preset-verbose/expected.txt
# test/statsCases/scope-hoisting-bailouts/expected.txt
# test/statsCases/scope-hoisting-multi/expected.txt
# yarn.lock
2018-04-27 15:39:12 +02:00
Tobias Koppers
0b759d7558
reformat
2018-04-23 21:56:18 +02:00
Ryan Tsao
573f2ae0bb
Merge branch 'master' into crossorigin-attr
2018-04-19 14:11:37 -07:00