Repository navigation
Open
Description
Feature Request
It is kinda possible to use WXT with Deno: wxt+deno.zip
However there are a few problems:
package.jsonisn't found (because we use adeno.json) so the name/version can't be extracted automaticallywxt buildandwxt zipdon't exit- TSConfig doesn't exist, so we can't extend
.wxt/tsconfig.json... Creating a tsconfig.json separate from thedeno.jsonbreaksdeno run, so the only option is to reference.wxt/wxt.d.tsfrom another declaration file. This means all the import path aliases won't be recognized. You could manually add them todeno.json, but 🤷 I didn't for this example - Postinstall script inside
deno.jsondoesn't run after runningdeno i - Need to look into JSR and downloading private packages from a repo during sources ZIP. Basically need to implement a deno package manager here: https://github.com/wxt-dev/wxt/tree/main/packages/wxt/src/core/package-managers
- Look into potential issues around
wxt.config.tsfile typing: Added missing member used inUserManifestto define the manifest name. #1336 (comment)
These things kinda get in the way of the existing template setup and wxt init command. Similar to PNPM, we'll need to modify the files after downloading them for it to work with deno.
Is your feature request related to a bug?
N/A
What are the alternatives?
N/A
Additional context
I've been using deno lately and it's very good. Want to make sure WXT supports it.
Reacted by xy69, Joe Alden, Soaib Haque, Santtu Ojanperä, leah, Afonso, Eli, John Goodliff and Penelope Liones
Reacted by Penelope Liones
Metadata
Metadata
Assignees
Labels
No labels
Activity