From 2c7273aa750748e8882dfbec9d7322119daa595a Mon Sep 17 00:00:00 2001 From: sage Date: Fri, 18 Feb 2022 11:06:56 +0700 Subject: [PATCH] :bug: (svelte) Use cjs for Svelte config --- packages/svelte/svelte.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/svelte/svelte.config.js b/packages/svelte/svelte.config.js index 3630bb39..0b32783a 100644 --- a/packages/svelte/svelte.config.js +++ b/packages/svelte/svelte.config.js @@ -1,6 +1,6 @@ -import sveltePreprocess from 'svelte-preprocess' +const sveltePreprocess = require('svelte-preprocess') -export default { +module.exports = { // Consult https://github.com/sveltejs/svelte-preprocess // for more information about preprocessors preprocess: sveltePreprocess()