Skip to content

The documentation should be supplemented with how old projects work properly under 7.0.0 #1585

Closed
@hellohejinyu

Description

@hellohejinyu

Documentation Is:

  • Missing
  • Needed
  • Confusing
  • Not Sure?

Please Explain in Detail...

image

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'
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions