-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove
"type": "module"
from vitest/package.json (#1411)
Closes #325 Co-authored-by: Anthony Fu <[email protected]>
- Loading branch information
1 parent
1560417
commit b4a9b0b
Showing
6 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"name": "vitest", | ||
"type": "module", | ||
"version": "0.13.1", | ||
"description": "A blazing fast unit test framework powered by Vite", | ||
"author": "Anthony Fu <[email protected]>", | ||
|
@@ -23,7 +22,7 @@ | |
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.js" | ||
"import": "./dist/index.mjs" | ||
}, | ||
"./*": "./*", | ||
"./globals": { | ||
|
@@ -34,12 +33,12 @@ | |
}, | ||
"./node": { | ||
"types": "./dist/node.d.ts", | ||
"import": "./dist/node.js" | ||
"import": "./dist/node.mjs" | ||
}, | ||
"./config": { | ||
"types": "./config.d.ts", | ||
"require": "./dist/config.cjs", | ||
"import": "./dist/config.js" | ||
"import": "./dist/config.mjs" | ||
} | ||
}, | ||
"main": "./dist/index.js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/usr/bin/env node | ||
import './dist/cli.js' | ||
import './dist/cli.mjs' |