mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -05:00
43c8c1cc6e
This allows people to use imports like: ```ts import "./app.css"; ``` ...with `deno check` in systems where there's a bundle step (ex. Vite). This will still error when using it with `deno run` or if the referenced file does not exist. See test cases for behaviour.
24 lines
643 B
Text
24 lines
643 B
Text
{
|
|
"steps": [{
|
|
"args": "check exists.ts",
|
|
"output": "exists.out"
|
|
}, {
|
|
"args": "run --check exists.ts",
|
|
"output": "exists_run_with_check.out",
|
|
"exitCode": 1
|
|
}, {
|
|
"args": "check not_exists.ts",
|
|
"output": "not_exists.out",
|
|
"exitCode": 1
|
|
}, {
|
|
"args": "check exists_and_try_uses.ts",
|
|
"output": "exists_and_try_uses.out",
|
|
"exitCode": 1
|
|
}, {
|
|
"args": "check exists_dynamic_import.ts",
|
|
"output": "Check file:///[WILDCARD]exists_dynamic_import.ts\n"
|
|
}, {
|
|
"args": "run --check --reload exists_dynamic_import.ts",
|
|
"output": "Check file:///[WILDCARD]exists_dynamic_import.ts\n"
|
|
}]
|
|
}
|