Skip to content

Consider use of jsconfig.json for aliases #16

@talves

Description

@talves

Consider use of jsconfig.json as alternative to .babelrc for alias [as in docs](Consider use of jsconfig.json as alternative to .babelrc for alias).

Reading through the docs, the recommended way to create aliases paths was using the jsconfig.json file.

jsconfig.json

{
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "*": ["src/*"],
      "components/*": ["src/components/*"],
      "utils/*": ["src/utils/*"],
      "styles/*": ["src/styles/*"],
    }
  }
}

I thought this might be for discussion. Not sure of the benefits yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions