We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39dc89c commit ee2cdf8Copy full SHA for ee2cdf8
internal/bundled/noembed.go
@@ -35,12 +35,7 @@ var libPath = sync.OnceValue(func() string {
35
if testing.Testing() {
36
return TestingLibPath()
37
}
38
- dir := executableDir()
39
-
40
- libdts := filepath.Join(dir, "lib.d.ts")
41
- if _, err := os.Stat(libdts); err != nil {
42
- panic(fmt.Sprintf("bundled: %v does not exist; this executable may be misplaced", libdts))
43
- }
+ dir := "asset:///"
44
45
return tspath.NormalizeSlashes(dir)
46
})
0 commit comments