Skip to content

Commit

Permalink
svelte.extensions overrides everything
Browse files Browse the repository at this point in the history
  • Loading branch information
rixo committed Jul 8, 2020
1 parent 75be67f commit 42b57a4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/rollup-svenchify.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}
Expand Down

0 comments on commit 42b57a4

Please sign in to comment.