-
Most frontend project use tsconfig paths. And import scss like this `@import '@/style/theme';`.
```json
// tsconfig.json
{
"compilerOptions": {
"paths": {
"@/*": ["./sr…
-
### Suggest an idea for this project
You say "[Knip has good defaults and aims for “zero config”](https://knip.dev/overview/configuration#:~:text=Knip%20has%20good%20defaults%20and%20aims%20for%20%E2…
-
### Question
Hey there
We are getting an error showing in the logs of a site where Webperf was installed but has since been removed.
Looks like it's possibly related to some compiled JS that is h…
-
The `fork` command supports a syntax like `fork project/branch:path`. But `alias.term` and `alias.type` don't support the same syntax:
```
@cloud/nimbus/verify-service-owner-4> alias.type /verify-…
-
VSCode's [Path Autocomplete](https://marketplace.visualstudio.com/items?itemName=ionutvmi.path-autocomplete) has a feature called `path-autocomplete.pathMappings` which allows you to define aliases fo…
musjj updated
8 months ago
-
Importing scss modules using module path aliases does not give typesafety if type declarations are put in a seperate output folder.
```
// Works
import styles from "../styles/Home.module.scss";
…
-
By using the `-I ` flag, it is possible to specify an additional root folder in which to look for headers.
This means that the same file can be included as:
```
#include "MyFile.h" // local includ…
-
# BUG REPORT
### Error when importing mqtt
```
Error: Cannot find module '../mqtt'
```
[minimal reproducible example](https://github.com/KarlG-03/mqtt-test)
### Workaround
- a work aro…
-
>- after #101
# Problem
Many imports are relative which leads to the following code:
```ts
import { useMyHook } from "../../../hooks/myHook"
```
# Solution
**Path aliases** allow you to sp…
-
Repro:
```
; cat ./pair-test.es
#!/usr/local/bin/es
# Set up the foo/FOO pair in the manner of path/PATH.
set-foo = @ {local (set-FOO = ()) FOO =