mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
build(ui): do not fail build on eslint error in dev mode
This commit is contained in:
parent
393e32f8a7
commit
0f10faf0d4
@ -57,7 +57,12 @@ export default defineConfig(({ mode }) => {
|
||||
|
||||
return {
|
||||
base: './',
|
||||
plugins: [react(), mode !== 'test' && eslint(), tsconfigPaths(), visualizer() as unknown as PluginOption],
|
||||
plugins: [
|
||||
react(),
|
||||
mode !== 'test' && eslint({ failOnError: mode === 'production', failOnWarning: mode === 'production' }),
|
||||
tsconfigPaths(),
|
||||
visualizer() as unknown as PluginOption,
|
||||
],
|
||||
build: {
|
||||
chunkSizeWarningLimit: 1500,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user