-
Notifications
You must be signed in to change notification settings - Fork 107
fix(pack): disable ts_transform for foreign_code #2267
New issue
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,6 @@ | ||
| { | ||
| "editor.defaultFormatter": "biomejs.biome" | ||
| "editor.defaultFormatter": "biomejs.biome", | ||
| "[json]": { | ||
| "editor.defaultFormatter": "vscode.json-language-features" | ||
| } | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| { | ||
| "config": { | ||
| "entry": [ | ||
| { | ||
| "import": "input/index.ts", | ||
| "name": "main" | ||
| } | ||
| ], | ||
| "optimization": { | ||
| "minify": false | ||
| } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import { foo } from 'tsconfig-mod'; | ||
| import { prop } from 'tsconfig-mod/foo'; | ||
|
|
||
| console.log('foo', foo); | ||
| console.log('prop', prop); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| error - [process module] /crates/pack-tests/tests/snapshot/node_modules/tsconfig-mod/foo.ts Unknown module type | ||
|
|
||
| This module doesn't have an associated type. Use a known file extension, or register a loader for it. | ||
|
|
||
| Read more: https://nextjs.org/docs/app/api-reference/next-config-js/turbo#webpack-loaders |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| (globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([ | ||
| typeof document === "object" ? document.currentScript : undefined, | ||
| {"otherChunks":["crates_pack-tests_tests_snapshot_86c66f3f.js"],"runtimeModuleIds":[28]} | ||
| ]); | ||
| // Dummy runtime |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.