-
-
Notifications
You must be signed in to change notification settings - Fork 261
Closed
Labels
Description
I'm currently working on a project that is using tsup
to bundle the backend express
server for a vite
project.
However, when attempting to call createViteServer
I get 2 errors. The first being about not being able to resolve acorn
(Adding --external acorn
fixed that). However the other error I am not so sure about as such a simple fix for.
Unless I am missing something it seems like .node
modules would need to be added to tsup
in order to fix this/work around it?
> ../../node_modules/fsevents/fsevents.js:13:23: error: No loader is configured for ".node" files: ../../node_modules/fsevents/fsevents.node
13 │ const Native = require("./fsevents.node");
╵ ~~~~~~~~~~~~~~~~~