It adopts browser-like module resolution, meaning that file names must be specified in full. You may not omit the file extension and there is no special handling ofindex.jsindex.js.import { add, multiply } from "./arithmetic.ts";import { add, multiply } from "./arithmetic.ts";
When using the automatic transforms, Deno will try to import a JSX runtime module that is expected to conform to the new JSX API and is located at eitherjsx-runtimejsx-runtimeorjsx-dev-runtimejsx-dev-runtime. For example if a JSX import source is configured toreactreact, then the emitted code will add this to the emitted file:import { jsx as _jsx } from "react/jsx-runtime";import { jsx as _jsx } from "react/jsx-runtime";
Join the Discord to ask follow-up questions and connect with the community