[Discuss] It's time to clean up config! Post things you found confusing here! #839
Replies: 5 comments 6 replies
-
Yep, I have proposal about include |
Beta Was this translation helpful? Give feedback.
-
I also brought up similar things in this discussion: #617
|
Beta Was this translation helpful? Give feedback.
-
One minor suggestion related to config docs: I'd suggest to include the config object key, e.g. |
Beta Was this translation helpful? Give feedback.
-
what is the difference about |
Beta Was this translation helpful? Give feedback.
-
Bump for v3. We've actually tackled a lot of these already in v2.0! |
Beta Was this translation helpful? Give feedback.
-
Plenty of config overlap & incorrect organization has popped up over the last few months as we've grown. Let's get a full list together of things that we can clean up in our config.
My personal improvement wish list:
include
&extends
- Right now, we scan all files in your project by default. This was meant to solve the "zero-config" use-case in simple projects, but some people are confused by this behavior, especially in apps with other file types (ex: Java web app). We should either make this behavior more clear on first run, or scrap it entirely.devOptions.out
->buildOptions.out
devOptions.fallback
-> ??? We need something better to signify that you're in SPA mode, and when to serve a 404 for unmatched routes. Right now, we assume that you're always in SPA mode.installOptions.env
creates a footgun for unintentionally including sensitive process.env variables.Beta Was this translation helpful? Give feedback.
All reactions