Skip to content

Commit

Permalink
Fix vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
martenrichter committed Jan 25, 2025
1 parent 0cfe1ae commit 30c65cc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@ export default defineConfig(() => {
build: {
outDir: 'build'
},
plugins: [react(), eslint(), topLevelAwait()],
plugins: [
react(),
eslint({
exclude: [
'node_modules/**',
'../jupyterfails/packages/jupyterreactedit/lib/**/*.js' // Adjust this path if needed
]
}),
topLevelAwait()
],
worker: {
format: 'module'
},
Expand Down

0 comments on commit 30c65cc

Please sign in to comment.