From 66bd22a17f7f373e6deab8d8573335b8d6b3f06c Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Thu, 6 Jul 2023 18:59:08 +0200 Subject: [PATCH] fix(query-devtools): Bundle all dependencies --- packages/query-devtools/rollup.config.js | 3 ++- packages/solid-query/rollup.config.js | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) 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'], }) )