In typescript where I build some app with absolute imports, like:
import { jsx as _jsx } from "react/jsx-runtime" it cause a problem while serving this after build.
After build any imports stays the same thing.
I need http://address/dist/lib/react/jsx-runtime at runtime after build, not just react/jsx-runtime
How I can tell typescript to resolve this absolute values to relative?
error while serving:
Uncaught TypeError: Failed to resolve module specifier "react/jsx-runtime". Relative references must start with either "/", "./", or "../".