Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Module-Alias #71

Open
Militia21 opened this issue May 6, 2021 · 1 comment
Open

Add Module-Alias #71

Militia21 opened this issue May 6, 2021 · 1 comment
Labels
feature request New feature or request

Comments

@Militia21
Copy link

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

@DerGoogler
Copy link

@Militia21

jsconfig.json

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

@sabattle sabattle added the feature request New feature or request label Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants