From 864ffc4dfaa12bda48d88a82af595d8c6bb6da0d Mon Sep 17 00:00:00 2001 From: ApplicationDeveloper Date: Tue, 25 Feb 2020 16:08:35 +0800 Subject: [PATCH] Fix missing module error 'vscode-css-languageservice/lib/umd/data/browsers' File 'vscode-css-languageservice/src/data/browsers.ts' was renamed to 'vscode-css-languageservice/src/data/webCustomData.ts' in vscode-css-languageservice v4.1.0 --- server/src/modes/style/stylus/css-browser-data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/modes/style/stylus/css-browser-data.ts b/server/src/modes/style/stylus/css-browser-data.ts index 175045c4a6..ecb0ba9c9b 100644 --- a/server/src/modes/style/stylus/css-browser-data.ts +++ b/server/src/modes/style/stylus/css-browser-data.ts @@ -18,7 +18,7 @@ export interface LoadedCSSData { pseudoElements: IPseudoElementData[]; } -const rawData: CSSDataV1 = require('vscode-css-languageservice/lib/umd/data/browsers').cssData; +const rawData: CSSDataV1 = require('vscode-css-languageservice/lib/umd/data/webCustomData').cssData; export const cssData: LoadedCSSData = { properties: rawData.properties || [],