From b821c1843245c4f41bda59c34c8eb785f6fbfb5f Mon Sep 17 00:00:00 2001 From: Damillora Date: Wed, 12 May 2021 06:25:54 +0700 Subject: [PATCH] chore: update svelte config --- svelte.config.cjs => svelte.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename svelte.config.cjs => svelte.config.js (71%) diff --git a/svelte.config.cjs b/svelte.config.js similarity index 71% rename from svelte.config.cjs rename to svelte.config.js index c31e5d2..a965059 100644 --- a/svelte.config.cjs +++ b/svelte.config.js @@ -1,8 +1,8 @@ -const preprocess = require('svelte-preprocess'); -const node = require('@sveltejs/adapter-node'); +import preprocess from 'svelte-preprocess'; +import node from '@sveltejs/adapter-node'; /** @type {import('@sveltejs/kit').Config} */ -module.exports = { +export default { // Consult https://github.com/sveltejs/svelte-preprocess // for more information about preprocessors preprocess: preprocess(),