From 42b57a4374117d174c6aa277a52095c1f2727f2d Mon Sep 17 00:00:00 2001 From: rixo Date: Wed, 8 Jul 2020 02:20:57 +0200 Subject: [PATCH] svelte.extensions overrides everything --- lib/rollup-svenchify.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/rollup-svenchify.js b/lib/rollup-svenchify.js index c8d6884..0b25e90 100644 --- a/lib/rollup-svenchify.js +++ b/lib/rollup-svenchify.js @@ -75,10 +75,12 @@ export default SvenchPlugin => { return { ...config, ...svelte, - extensions: mergeExtensions( - config.extensions || defaultSvelteExtensions, - svelte.extensions || extensions - ), + extensions: + svelte.extensions || + mergeExtensions( + config.extensions || defaultSvelteExtensions, + extensions + ), preprocess: preprocessor, } }