PlasmoHQ / plasmo

🧩 The Browser Extension Framework
https://www.plasmo.com
MIT License
10.29k stars 356 forks source link

[RFC] Customize path aliases #1079

Open Bartek532 opened 1 week ago

Bartek532 commented 1 week ago

How do you envision this feature/change to look/work like?

I want to have all my extension related pages in one directory (e.g. /app). Is it possible?

I tried the solution below, but it's not working:

tsconfig.json

    "paths": {
      "~popup": ["./src/app/popup/"],
      "~*": ["./src/*"]
    },

What is the purpose of this change/feature? Why?

More customization on pages imports.

(OPTIONAL) Example implementations

No response

(OPTIONAL) Contribution

Verify canary release

Code of Conduct