Skip to content

Commit 8465f45

Browse files
committed
fix web building
1 parent af7cc6a commit 8465f45

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
"lodash.throttle": "^4.1.1",
136136
"mocha": "^10.0.0",
137137
"modify-json-file": "^1.2.2",
138+
"path-browserify": "^1.0.1",
138139
"pluralize": "github:plurals/pluralize#36f03cd2d573fa6d23e12e1529fa4627e2af74b4",
139140
"rambda": "^7.2.1",
140141
"require-from-string": "^2.0.2",

pnpm-lock.yaml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

typescript/src/definitions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { join } from 'path'
21
import { GetConfig } from './types'
32
import { findChildContainingExactPosition } from './utils'
3+
import { join } from 'path-browserify'
44

55
export default (proxy: ts.LanguageService, info: ts.server.PluginCreateInfo, c: GetConfig) => {
66
proxy.getDefinitionAndBoundSpan = (fileName, position) => {

0 commit comments

Comments
 (0)