Ask coding questions

← Back to all posts
How to add an @root configuration to repl.it?
PointerBots (1)

I am looking at a Discord-Bot-List git and it has @root as "./". is there a way to do this? (whenever i press the run button it always does the npm i stuff)

Answered by Coder100 (17102) [earned 5 cycles]
View Answer
Comments
hotnewtop
PointerBots (1)

@Coder100 I mean to make a shortcut instead of ./, I can use @root

Coder100 (17102)

i don't see why that's useful imo
but i don't think that is really possible, maybe you can put it in a folder in node_modules called @root, but that may or may not work. @PointerBots

PointerBots (1)

@Coder100 Thanks! I wa trying to use an npm package but it didnt work lol