CalypsoBot icon indicating copy to clipboard operation
CalypsoBot copied to clipboard

Add Module-Alias

Open Militia21 opened this issue 4 years ago • 1 comments

add module-alias npm package, so you can easily import "../Command" as "@Command" and access it from anywhere within the project easily.

Militia21 avatar May 06 '21 02:05 Militia21

@Militia21

jsconfig.json

{
    "compilerOptions": {
      "baseUrl": "./src",
      "paths": {
        "@Commands/*": ["./commands/*"]
      }
    }
  }

DerGoogler avatar Mar 01 '22 12:03 DerGoogler