4 ms·
We don’t put extensions on imports import {} from "./mod“; and we bundle before running. Maybe that explains it.
by wrs 3y ago
We don’t put extensions on imports
import {} from "./mod“;
and we bundle before running. Maybe that explains it.
- conaclos 3y agoYes. I transpile my libraries and in order to be ESM-compatible you have to use the extension of the emitted files (in my case `.js`)