#use require ?
26 messages · Page 1 of 1 (latest)
i dont want to change a 200 mb huge thing with requires to imports
its painful
it cant find modules?
uh why?
If you use createRequire from std/node/module.ts you will need to manually install these modules using npm/pnpm/yarn
Oh
Any way to use require with deno installed files?
O_O 200mb. I'm curious about what that's about
A bot
In discord.js
Lot of junk to clean
So dont mind that
make a robot to do it for u
you could do a simple robot in python to replace requires by imports
Its painful and i am using it for requiring local files for command handlers etc which cant be fontle using imports
Lemme just manually change it
you can try with --node-modules-dir flag, but I doubt it will work
I know that but i made dynamic yhijgs which are like default for require
Like the "index.js" file thing
Sobinhave to change a lot