Skip to content

fix: add module: "ESNext" to tsconfig.node #266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 6, 2023

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

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

None yet

2 participants