Skip to content
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

fix(textlint): fix ESM loading issue on Windows #972

Merged
merged 3 commits into from
Dec 30, 2022
Merged

fix(textlint): fix ESM loading issue on Windows #972

merged 3 commits into from
Dec 30, 2022

Conversation

azu
Copy link
Member

@azu azu commented Dec 30, 2022

Windows can not load file path via import().
Windows need to convert file path to file url.

fix #971
ref nodejs/node#31710

@azu azu changed the title CI: add windows fix(textlint): fix ESM loading issue on Windows Dec 30, 2022
@azu azu merged commit a6b9bf5 into master Dec 30, 2022
@azu azu deleted the feature/971 branch December 30, 2022 12:30
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.

Can not load pacakge via import() in Windows
1 participant