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

feat: treat pseudo ESM as ESM with custom loader, disable custom Node Loader by default #1778

Merged
merged 11 commits into from Aug 5, 2022

Conversation

sheremet-va
Copy link
Member

@sheremet-va sheremet-va commented Aug 3, 2022

With this we can technically externalise every node_modules file:

This actually speeds up tests.

Fixes #1776
Fixes #1753

@sheremet-va sheremet-va requested a review from antfu August 3, 2022 07:48
@sheremet-va sheremet-va marked this pull request as draft August 3, 2022 07:51
@sheremet-va sheremet-va changed the title feat: treat pseudo ESM as ESM feat: treat pseudo ESM as ESM, disable loader by default Aug 3, 2022
@sheremet-va sheremet-va changed the title feat: treat pseudo ESM as ESM, disable loader by default feat: treat pseudo ESM as ESM Aug 3, 2022
@sheremet-va sheremet-va requested a review from antfu August 4, 2022 06:35
@sheremet-va sheremet-va changed the title feat: treat pseudo ESM as ESM feat: treat pseudo ESM as ESM, disable custom Node Loader by default Aug 5, 2022
@sheremet-va sheremet-va marked this pull request as ready for review August 5, 2022 15:15
@sheremet-va sheremet-va changed the title feat: treat pseudo ESM as ESM, disable custom Node Loader by default feat: treat pseudo ESM as ESM with custom loader, disable custom Node Loader by default Aug 5, 2022
@sheremet-va sheremet-va merged commit 155943c into vitest-dev:main Aug 5, 2022
@sheremet-va sheremet-va deleted the feat/treat-psuedo-esm-as-esm branch August 5, 2022 15:43
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.

Mistaken ESM as CJS when using svelte [0.20.2]: Tets fails if importing tslib
2 participants