diff --git a/.changeset/giant-fireants-grow.md b/.changeset/giant-fireants-grow.md new file mode 100644 index 0000000..3201279 --- /dev/null +++ b/.changeset/giant-fireants-grow.md @@ -0,0 +1,5 @@ +--- +"@teiler/svelte": patch +--- + +Fix rollup config diff --git a/packages/svelte/rollup.config.js b/packages/svelte/rollup.config.js index fe179bc..5c2dad9 100644 --- a/packages/svelte/rollup.config.js +++ b/packages/svelte/rollup.config.js @@ -16,7 +16,7 @@ const globals = { const defaultPlugins = [ commonjs(), - nodeResolve({ extensions: ['.ts'] }), + nodeResolve({ extensions: ['.ts'], resolveOnly: [/^(?!svelte.*$)/] }), json(), swc({ include: ['src/**/*.ts'] }), svelte({