Skip to content

Add native ESM support #581

Add native ESM support

Add native ESM support #581

Triggered via push July 27, 2023 09:12
Status Failure
Total duration 37s
Artifacts

ci.yml

on: push
Static code analysis
16s
Static code analysis
Type checking
25s
Type checking
Prettier
14s
Prettier
Unit tests
20s
Unit tests
Fit to window
Zoom out
Zoom in

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.