Skip to content

Commit

Permalink
fix: ensure svelte dependency files are resolved reliably
Browse files Browse the repository at this point in the history
Some svelte dependencies will require this setting. svelte-check made a
change in a recent release that the node-resolve plugin failed to find
it and added a `require('svelte-check')` statement which would fail.
  • Loading branch information
jamiebrynes7 committed Feb 10, 2024
1 parent 3964ce6 commit 787095d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default {
resolve({
browser: true,
dedupe: ["svelte"],
exportConditions: ['svelte'],
}),
commonjs(),
postcss(),
Expand Down

0 comments on commit 787095d

Please sign in to comment.