Last active
July 9, 2024 04:02
-
-
Save ellemedit/2f3e59753adae5c2e37241469633056d to your computer and use it in GitHub Desktop.
`~/` alias like subpath import config in Next.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"imports": { | |
"#styled-system/*": "./src/styled-system/*/index.js", // remove if you don't use pandacss | |
"#*": { | |
"react-server": [ | |
"./src/*.ts", | |
"./src/*.tsx", | |
"./src/*.server.ts", | |
"./src/*.server.tsx" | |
], | |
"node": [ | |
"./src/*.ts", | |
"./src/*.server.ts" | |
], | |
"default": [ | |
"./src/*.ts", | |
"./src/*.tsx", | |
"./src/*.client.ts", | |
"./src/*.client.tsx" | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment