From 8bf08a367464346659bf9f5512066802bbba49fa Mon Sep 17 00:00:00 2001 From: Jack Kavanagh Date: Wed, 10 Jul 2024 10:15:55 +0200 Subject: [PATCH] force (#7690) --- packages/insomnia/vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/insomnia/vite.config.ts b/packages/insomnia/vite.config.ts index 6e0af995d..eb4ec6555 100644 --- a/packages/insomnia/vite.config.ts +++ b/packages/insomnia/vite.config.ts @@ -43,6 +43,7 @@ export default defineConfig(({ mode }) => { // these packages are only used in web worker, Vite won't be able to discover the import on the initial scan,so we need to include them here to let vite pre-bundle them // https://vitejs.dev/guide/dep-pre-bundling.html#customizing-the-behavior include: ['@stoplight/spectral-core', '@stoplight/spectral-ruleset-bundler/with-loader', '@stoplight/spectral-rulesets'], + force: true, }, plugins: [ // Allows us to import modules that will be resolved by Node's require() function.