From 47906be65edda69b281e4b372aebfda6cc1a8a83 Mon Sep 17 00:00:00 2001 From: Dimitri POSTOLOV Date: Tue, 20 Aug 2024 15:29:40 +0200 Subject: [PATCH] fix build --- packages/graphiql-plugin-explorer/vite.config.mts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/graphiql-plugin-explorer/vite.config.mts b/packages/graphiql-plugin-explorer/vite.config.mts index 7d41ddbdb9..b0f7a21c6e 100644 --- a/packages/graphiql-plugin-explorer/vite.config.mts +++ b/packages/graphiql-plugin-explorer/vite.config.mts @@ -57,14 +57,14 @@ function htmlPlugin(): PluginOption { const require = createRequire(import.meta.url); const graphiqlPath = require - .resolve('graphiql') - .replace('/dist/index.js', ''); + .resolve('graphiql/package.json') + .replace('/package.json', ''); const htmlForVite = `