mirror of
https://github.com/denoland/deno.git
synced 2025-02-18 19:33:00 -05:00

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);
|
|
}
|
|
}
|