Prefetching all assets causes problems for projects that are being gradually migrated to webpack. Users may want the ability to push webpack to production bits at a time for easier code review and to minimize the impact of any errors. Unconverted files may live in directories with other files that are being included in the compilation process, and if prefetching is enabled, they will throw errors as the compiler parses them.
Making the prefetching an opt-in option allows for a default of parsing only the entry files and their dependencies, rather than all files in any included directories.
Prefetching all assets causes problems for projects that are being gradually migrated to webpack. Users may want the ability to push webpack to production bits at a time for easier code review and to minimize the impact of any errors. Unconverted files may live in directories with other files that are being included in the compilation process, and if prefetching is enabled, they will throw errors as the compiler parses them.
Making the prefetching an opt-in option allows for a default of parsing only the entry files and their dependencies, rather than all files in any included directories.