Oh wonderful. I’m getting weird import errors in my website now. I have an es6 import like

import rehypeHighlight from "rehype-highlight";

and ts-node is complaining that I can’t require() it, I need to import it. I’m clearly fucking importing it you idiot!

Published
Permalinkjs-hard
Shortlinkaay.tw/e5Em0

Comments

Markdown formatting is supported.