preset-env: update modules default value#1820
Conversation
|
Deploy preview for babel ready! Built with commit 43265b2 |
|
Thanks for the PR! What are your thoughts on leaving the default value as-is, and instead, add a section atop it that describes how babel-loader@8 uses the caller option to set it to |
|
It's just not true that default value is |
|
🤷♂️ I'm open to what the rest of the team thinks. Ultimately, I agree that the introduction of the caller option makes the notion of "default" a little less clear. I just think it's important to show both what the behavior is when using the preset directly and what can happen via the caller option... since it's not just babel-loader@8 that can use it. |
|
Maybe we can split the into a new section that explains it explicitly? |
|
Yeah, my initial thought was to just call out the fact that it can be different based on caller, and use babel-loader as an example, but I'm fine with replacing the |
|
“Allow edits from maintainers” is on, so please feel free to reword it |
See babel/babel#8485