File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed
vite-plugin-svelte-inspector/src Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -73,9 +73,16 @@ module.exports = {
73
73
}
74
74
} ,
75
75
{
76
- files : [ 'packages/vite-plugin-svelte-inspector/src/runtime/load-inspector.js' ] ,
76
+ files : [
77
+ 'packages/vite-plugin-svelte-inspector/src/runtime/load-inspector.js' ,
78
+ 'packages/vite-plugin-svelte-inspector/src/runtime/Inspector.svelte'
79
+ ] ,
77
80
env : {
78
- browser : true
81
+ browser : true ,
82
+ node : false
83
+ } ,
84
+ rules : {
85
+ 'n/no-unsupported-features/node-builtins' : 'off'
79
86
}
80
87
} ,
81
88
{
Original file line number Diff line number Diff line change @@ -74,5 +74,5 @@ export interface Options {
74
74
base : string ;
75
75
} ;
76
76
}
77
-
77
+ // eslint-disable-next-line n/no-missing-import
78
78
export * from './index.js' ;
Original file line number Diff line number Diff line change @@ -204,5 +204,5 @@ export interface VitePreprocessOptions {
204
204
*/
205
205
style ?: boolean | InlineConfig | ResolvedConfig ;
206
206
}
207
-
207
+ // eslint-disable-next-line n/no-missing-import
208
208
export * from './index.js' ;
Original file line number Diff line number Diff line change 1
1
import type { CompileOptions } from 'svelte/compiler' ;
2
2
import type { ViteDevServer } from 'vite' ;
3
+ // eslint-disable-next-line n/no-missing-import
3
4
import { VitePluginSvelteStats } from '../utils/vite-plugin-svelte-stats.js' ;
4
5
import type { Options } from '../public.d.ts' ;
5
6
You can’t perform that action at this time.
0 commit comments