diff --git a/packages/query-devtools/rollup.config.js b/packages/query-devtools/rollup.config.js index 83a9d39464..4a14e334b5 100644 --- a/packages/query-devtools/rollup.config.js +++ b/packages/query-devtools/rollup.config.js @@ -8,10 +8,11 @@ export function createQueryDevtoolsConfig() { withSolid({ input: `./src/index.tsx`, targets: ['esm', 'cjs'], - external: [], }) ) + solidRollupOptions.external = [] + const outputs = !solidRollupOptions.output ? [] : Array.isArray(solidRollupOptions.output) diff --git a/packages/solid-query/rollup.config.js b/packages/solid-query/rollup.config.js index dd136baaeb..2fcf4ebde6 100644 --- a/packages/solid-query/rollup.config.js +++ b/packages/solid-query/rollup.config.js @@ -8,7 +8,6 @@ export function createSolidQueryConfig() { withSolid({ input: `./src/index.ts`, targets: ['esm', 'cjs'], - external: ['@tanstack/query-core'], }) )