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, } }