Skip to content

Commit

Permalink
fix: let final project resolve textmate wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Jul 26, 2023
1 parent 70a9047 commit e641ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service-override/textmate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import getFileServiceOverride from './files'
import { registerServiceInitializeParticipant } from '../services'
import { registerAssets } from '../assets'

const _onigWasm = new URL('../../node_modules/vscode-oniguruma/release/onig.wasm', import.meta.url).href
const _onigWasm = new URL('vscode-oniguruma/release/onig.wasm', import.meta.url).href
registerAssets({
'vscode-oniguruma/../onig.wasm': _onigWasm, // Path used inside service
'vs/../../node_modules/vscode-oniguruma/release/onig.wasm': _onigWasm // Path used inside worker
Expand Down

0 comments on commit e641ac3

Please sign in to comment.