update doc in js-import-paths.md

This commit is contained in:
imperosol
2026-08-20 16:17:23 +02:00
parent 236860d0f5
commit b8178e3534
+4 -6
View File
@@ -17,16 +17,14 @@ D'abord, il faut ajouter dans node via `package.json`:
} }
``` ```
Ensuite, pour faire fonctionne l'auto-complétion, il faut configurer `tsconfig.json`: Ensuite, pour faire fonctionne l'auto-complétion, il faut configurer `tsconfig.bundled.json`:
```json ```json
{ {
"compilerOptions": { // ...
"paths": {
// ... // ...
"paths": { "#mon_app:*": ["./mon_app/static/bundled/*"]
// ...
"#mon_app:*": ["./mon_app/static/bundled/*"]
}
} }
} }
``` ```