Commit Graph

9 Commits

Author SHA1 Message Date
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
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 👨‍💻 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
Bazyli Brzóska 96a5fa50f0 FakeDocument: make autoloading optional 2018-04-19 15:54:09 +02:00
Bazyli Brzóska ee42520072 FakeDocument: fix hanging rejection in tests from unimplemented parts 2018-04-18 21:10:21 +02:00
Bazyli Brzóska 2be0965f96 Merge branch 'master' of https://github.com/webpack/webpack into jest
# Conflicts:
#	package.json
#	test/ConfigTestCases.test.js
#	yarn.lock
2018-04-18 19:54:24 +02:00
Tobias Koppers 3417da594d preload in parallel to script download 2018-04-16 19:35:02 +02:00
Tobias Koppers 57e09a67a1 add test for prefetch, preload and script loading jsonp runtime 2018-04-16 17:43:45 +02:00