setup rspack

Co-authored-by: Percs <Percslol@users.noreply.github.com>
This commit is contained in:
Avad3 2024-07-14 05:38:56 -04:00
parent b448c5505b
commit 146c202ae2
5 changed files with 2847 additions and 144 deletions

View file

@ -69,7 +69,7 @@ fastify.listen({
port: process.env.PORT || 1337
});
const watch = spawn("pnpm", ["rollup", "-c", "-w"], { detached: true, cwd: process.cwd() });
const watch = spawn("pnpm", ["rspack", "-w"], { detached: true, cwd: process.cwd() });
watch.stdout.on("data", (data) => {
console.log(`${data}`);