Add native ESM support #581
ci.yml
on: push
Static code analysis
16s
Type checking
25s
Prettier
14s
Unit tests
20s
Annotations
10 errors
Type checking:
node_modules/vite-node/dist/server.d.ts#L1
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("vite")' call instead.
|
Type checking:
node_modules/vite/dist/node/index.d.ts#L5
Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Type checking:
node_modules/vite/dist/node/index.d.ts#L8
Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Type checking:
node_modules/vite/dist/node/index.d.ts#L9
Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Type checking:
node_modules/vite/dist/node/index.d.ts#L10
Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Type checking:
node_modules/vite/dist/node/index.d.ts#L14
Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Type checking:
node_modules/vite/dist/node/index.d.ts#L21
Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Type checking:
node_modules/vite/dist/node/index.d.ts#L22
Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Type checking:
node_modules/vite/dist/node/index.d.ts#L24
Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|
Type checking:
node_modules/vite/dist/node/index.d.ts#L26
Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
|