mirror of
https://github.com/denoland/deno.git
synced 2024-11-05 09:04:41 -05:00
b34e751a5b
Makes the resolver required and prints a warning when vendoring and a dynamic import can't be resolved. Closes #16522
11 lines
196 B
TypeScript
11 lines
196 B
TypeScript
// this should still vendor
|
|
// deno-lint-ignore no-constant-condition
|
|
if (false) {
|
|
await import("./non-existent.js");
|
|
}
|
|
|
|
export class Logger {
|
|
log(text: string) {
|
|
console.log(text);
|
|
}
|
|
}
|