Commit 8e3102cf authored by Niklas Mischkulnig's avatar Niklas Mischkulnig

reproduction

parent f8cb26c0
import(`@/${globalThis.type}/zh-Hant/${globalThis.processedSlugPath}/page.ts`)
import(`@/${globalThis.type}/${globalThis.processedSlugPath}`)
// globalThis.docs = 'docs'
// console.trace(require(`@/${globalThis.docs}/foo`))
// globalThis.foo = 'foo'
// console.trace(require(`@/docs/${globalThis.foo}`))
export default function page() {
return <div>hello</div>
......
......@@ -11,7 +11,7 @@
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"jsx": "react-jsx",
"incremental": true,
"plugins": [
{
......@@ -20,8 +20,7 @@
],
"paths": {
"@/*": ["./*"],
"@/docs/*": ["./docs/*"],
"@/learn/*": ["./learn/*"]
"@/docs/*": ["./docs2/*"]
},
"strictNullChecks": true
},
......@@ -31,7 +30,8 @@
"**/*.tsx",
".next/types/**/*.ts",
"next-env.d.ts",
"next.config.mjs"
"next.config.mjs",
".next/dev/types/**/*.ts"
],
"exclude": ["node_modules"]
"exclude": ["node_modules", "**/*.test.ts", "**/*.test.tsx"]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment