sidequestjs / sidequestjs/sidequest

Typescript does not work with import alias

Open
#104 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
TypeScript
Stars
1k
Forks
25
Avg merge
12h 17m
Merged PRs (30d)
5

Description

By default Next.js apps come with import alias of @/. I find that when using sidequest, it's failing when the file imports something like @/config

Is it possible to add a configuration option to invoke the job with tsx instead of node --experimental-strip-types?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating where Sidequest invokes jobs with node --experimental-strip-types and how runtime options are configured; reproduce the failure with a Next.js-style @/config import and verify that an option using tsx resolves the alias.

Written by the indexing model from the issue text.

Assessment

Tech stack
next.js, node.js, typescript
Domain
backend, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.