From 41ada34c35bc5e2d5c5b70bd95d9634e4d676dd4 Mon Sep 17 00:00:00 2001 From: hensm Date: Fri, 19 Aug 2022 18:42:47 +0100 Subject: [PATCH] Convert missed CommonJS module --- ext/svelte.config.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ext/svelte.config.js b/ext/svelte.config.js index aa45659..c1f6e5b 100644 --- a/ext/svelte.config.js +++ b/ext/svelte.config.js @@ -1,5 +1,3 @@ // svelte-vscode seems to require a config for proper linting support -const sveltePreprocess = require("svelte-preprocess"); -module.exports = { - preprocess: sveltePreprocess() -}; +import sveltePreprocess from "svelte-preprocess"; +export default sveltePreprocess();