Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prefetch option and default to false #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lankster
Copy link

@lankster lankster commented May 7, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant