We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
"bundle" option is false
tsconfig.json:
{ "compilerOptions": { "target": "es5", "lib": [ "dom", "dom.iterable", "esnext" ], "allowJs": true, "skipLibCheck": true, "strict": false, "forceConsistentCasingInFileNames": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", "baseUrl": ".", "paths": { "@lib": [ "src/lib" ], "@lib/*": [ "src/lib/*" ], } }, "include": [ "next-env.d.ts", "**/*.ts", "**/*.tsx" ], "exclude": [ "node_modules", "scripts" ] }
index.ts:
import {lol} from "@lib/lol"; console.log(lol())
@lib/lol.ts:
export const lol = () => { return 'Hello!' }
output file:
import{lol as l}from"@lib/lol";console.log(l()); //# sourceMappingURL=index.js.map
but must be:
import{lol as l}from"./lib/lol";console.log(l()); //# sourceMappingURL=index.js.map
The text was updated successfully, but these errors were encountered:
Closing as a duplicate of #394.
Sorry, something went wrong.
No branches or pull requests
"bundle" option is false
tsconfig.json:
index.ts:
@lib/lol.ts:
output file:
but must be:
output file:
The text was updated successfully, but these errors were encountered: