The documentation should be supplemented with how old projects work properly under 7.0.0
Closed this issue · 2 comments
hellohejinyu commented
Documentation Is:
- Missing
- Needed
- Confusing
- Not Sure?
Please Explain in Detail...
There are too many places in the project where the syntax import styles from 'xxx' is used. So for me, it would be a better solution if the project could use 7.0.0 without changing the syntax.
Your Proposal for Changes
Adding additional clarification in the Migration guide to add the following configuration to restore 6.x behavior.
options: {
modules: {
...
namedExport: false,
exportLocalsConvention: 'as-is'
}
}alexander-akait commented
Yeah, thank you for the issue, I will fix it
bladeSk commented
What was the reasoning behind this breaking change? Old code can be thankfully fixed by using the options above, but all the existing guides and tutorials were instantly made obsolete and misleading. Especially considering the change in syntax is so subtle.
