Skip to content

feat: experimental support for vite.config #107

feat: experimental support for vite.config

feat: experimental support for vite.config #107

Triggered via pull request January 9, 2025 07:50
Status Failure
Total duration 40s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 6 warnings
tests/source/bundler.test.ts: src/bundlerConfigs.ts#L69
SyntaxError: Cannot use import statement outside a module ❯ Module.getBundlerConfig src/bundlerConfigs.ts:69:20 ❯ Module.normalizeOptions src/normalizeOptions.ts:84:8 Module /home/runner/work/eslint-import-resolver-oxc/eslint-import-resolver-oxc/tests/source/fixtures/vite.config.ts:1 seems to be an ES Module but shipped in a CommonJS package. To fix this issue, change the file extension to .mjs or add "type": "module" in your package.json.
test (18.x, macos-latest)
Process completed with exit code 1.
tests/source/bundler.test.ts: src/bundlerConfigs.ts#L69
SyntaxError: Cannot use import statement outside a module ❯ Module.getBundlerConfig src/bundlerConfigs.ts:69:20 ❯ Module.normalizeOptions src/normalizeOptions.ts:84:8 Module /home/runner/work/eslint-import-resolver-oxc/eslint-import-resolver-oxc/tests/source/fixtures/vite.config.ts:1 seems to be an ES Module but shipped in a CommonJS package. To fix this issue, change the file extension to .mjs or add "type": "module" in your package.json.
test (18.x, windows-latest)
Process completed with exit code 1.
tests/source/bundler.test.ts: src/bundlerConfigs.ts#L69
SyntaxError: Cannot use import statement outside a module ❯ Module.getBundlerConfig src/bundlerConfigs.ts:69:20 ❯ Module.normalizeOptions src/normalizeOptions.ts:84:8 Module /home/runner/work/eslint-import-resolver-oxc/eslint-import-resolver-oxc/tests/source/fixtures/vite.config.ts:1 seems to be an ES Module but shipped in a CommonJS package. To fix this issue, change the file extension to .mjs or add "type": "module" in your package.json.
test (18.x, ubuntu-latest)
Process completed with exit code 1.
test (18.x, macos-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (18.x, windows-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (lts/*, windows-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (lts/*, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (18.x, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (lts/*, macos-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636