From e641ac323eb8e29c9496ab87eae345823a090333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mangeonjean?= Date: Wed, 26 Jul 2023 18:08:39 +0200 Subject: [PATCH] fix: let final project resolve textmate wasm --- src/service-override/textmate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service-override/textmate.ts b/src/service-override/textmate.ts index 959e77da..d1abf1a2 100644 --- a/src/service-override/textmate.ts +++ b/src/service-override/textmate.ts @@ -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