mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
acd01eb2b4
Running a file like: ``` import "@std/dotenv/load"; ``` Without a mapping in `imports` field of `deno.json` or `dependencies` of `package.json` will now error out with a hint: ``` error: Relative import path "@std/dotenv/load" not prefixed with / or ./ or ../ hint: Try running `deno add @std/dotenv/load` at [WILDCARD]bare_specifier_without_import/main.ts:1:8 ``` Closes https://github.com/denoland/deno/issues/24699 --------- Co-authored-by: David Sherret <dsherret@users.noreply.github.com> |
||
---|---|---|
.. | ||
check_types_dts | ||
check_with_excluded_file_specified | ||
cjs_default_export | ||
css_import | ||
extensionless | ||
globbing | ||
jsx_import_source_types | ||
jsx_import_source_types_config | ||
npm_pkg_empty_main_entry | ||
random_extension | ||
types_resolved_relative_config | ||
unstable_suggestion | ||
with_bare_import | ||
workspace |