-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import_map.json doesn't work (but if i use deno.json all works fine) #503
Comments
The documentation is not clear, but only deno.json and jsr.json are autodiscovered. You'll need to specify the import map within the jsr.json file (similar to deno.json) or add an "importMap" key like so: {
"$schema": "https://jsr.io/schema/config-file.v1.json",
"name": "@gramio/keyboards",
"version": "0.3.1",
"exports": "./src/index.ts",
"importMap": "./import_map.json"
"publish": {
"include": [
"jsr.json",
"import_map.json",
"src",
"README.md",
"tsconfig.json"
]
}
} |
But in |
i use
jsr.json
andimport_map.json
in my libraryjsr.json
-import_map.json
(about it) -but my dependency is recognized as
npm
and notjsr
I try to use
deno.json
and all works fine with itfor publish i use
bunx jsr publish
The text was updated successfully, but these errors were encountered: