mark module or just variable as secret to stop being bundled into client

with colocation I have accidentally bundled stuff into the client that should only be on the server twice now is there a way to mark a module or variable as secret so that when the bundler tries to bundle it into the client, it instead errors out at build time?
1 Reply
Samual 🦢
Samual 🦢OP•15mo ago
if there isn't just say I'm guessing there isn't
Want results from more Discord servers?
Add your server