Skip to content

Conversation

jahnli
Copy link
Contributor

@jahnli jahnli commented May 6, 2023

fix vite.config.ts error

The import.meta attribute is allowed only when the --module option is es2020, es2022, esnext, system, node16, or nodenext

lijiaheng and others added 2 commits May 6, 2023 15:50
Though it makes no difference in practical use, `ESNext` matches the one specified in the JSON schema https://json.schemastore.org/tsconfig
Copy link
Member

@haoqunjiang haoqunjiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@haoqunjiang haoqunjiang merged commit f98c348 into vuejs:main May 6, 2023
@haoqunjiang haoqunjiang changed the title feat: add module for tsconfig.node fix: add module: "ESNext" to tsconfig.node May 6, 2023
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.

2 participants