File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { format } from "prettier" ;
22import { describe , expect , it } from "vitest" ;
3- import * as plugin from "../../src/index" ;
3+ import * as plugin from "../../src/index.js " ;
44
55describe ( "index" , ( ) => {
66 it ( "without options" , async ( ) => {
Original file line number Diff line number Diff line change 99 },
1010 "packageManager" : " pnpm@9.12.3" ,
1111 "main" : " dist/src/index.js" ,
12- "files" : [" dist" , " src" ],
1312 "exports" : {
1413 "." : {
1514 "import" : " ./dist/src/index.js"
1615 }
1716 },
17+ "files" : [" dist" , " src" ],
1818 "dependencies" : {
1919 "tslib" : " ~2.7"
2020 },
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
33 "target" : " ESNext" ,
4- "module" : " ESNext " ,
5- "lib" : [" ESNext" , " DOM " ],
6- "moduleResolution" : " Bundler " ,
4+ "module" : " NodeNext " ,
5+ "lib" : [" ESNext" ],
6+ "moduleResolution" : " NodeNext " ,
77 "rootDir" : " ." ,
88 "outDir" : " dist" ,
99 "allowSyntheticDefaultImports" : true ,
You can’t perform that action at this time.
0 commit comments