Docs - ENJOYSAboutAbout
GitHubGitHub (opens in a new tab)
  • Introduction
  • Guides
    • API
      • Getting Started
      • File Structure
      • Dependencies
      • Environment Variables
      • Module Path
      • Api Routes
    • Google - SDK
      • SDK

  • PayTM PG
  • Enigma
  • Introduction
  • Guides
    • API
      • Getting Started
      • File Structure
      • Dependencies
      • Environment Variables
      • Module Path
      • Api Routes
    • Google - SDK
      • SDK

  • PayTM PG
  • About
  • Enigma

On This Page

  • Go to package.json and look for "_moduleAliases" key
Question? Give us feedback → (opens in a new tab)Edit this page
Guides
API
Module Path

Add Custom Path to your modules

Go to package.json and look for "_moduleAliases" key

package.json
 
 "_moduleAliases": {
   // "@/*": "core/*", for example
    "alias": "path/to/rootDir/moduleDir"    
  },
  "_moduleDirectories": [
   // "core"
    "path/to/rootDir"
  ],
 
Environment VariablesApi Routes

ENJOYS