reejs
reejs copied to clipboard
Packit/`specialFileImport` doesnt properly try to read folder if any plugin intercepted it.
I debugged it at so the file name is
.reejs/packit/plugins/million/7d335d.jsx
which tries to import as:
import { Button } from "../components/ui/button";
Since millionjs plugin intercepted (responded), packit saves the response in its own directory .reejs/packit/plugins/million/<shasum filename>
And then (this place)[https://github.com/rovelstars/reejs/blob/af0fc294a10d4d4b5befadf9a316e0adebdaa0b4/src/imports/specialFileImport.js#L287] things get messy...
Fun Fact: this issue doesn't occur when running Packit in no-caching
mode. This seems to only occur during cached builds (so this might again not occur if this file is being actively edited, which means its running off the cached response.)