This commit is contained in:
Jack Kavanagh 2024-07-10 10:15:55 +02:00 committed by GitHub
parent e798634e42
commit 8bf08a3674
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 scanso 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.