File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/vite-plugin-svelte Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ module.exports = {
104104 rules : {
105105 'no-undef' : 'off' ,
106106 'no-unused-vars' : 'off' ,
107+ 'no-unused-labels' : 'off' ,
107108 'no-console' : 'off' ,
108109 'padded-blocks' : 'off' ,
109110 'node/no-missing-import' : 'off' ,
@@ -117,6 +118,7 @@ module.exports = {
117118 rules : {
118119 'no-undef' : 'off' ,
119120 'no-unused-vars' : 'off' ,
121+ 'no-unused-labels' : 'off' ,
120122 'no-console' : 'off' ,
121123 'padded-blocks' : 'off' ,
122124 'node/no-missing-import' : 'off' ,
Original file line number Diff line number Diff line change 5050 To get the old behavior back, add the following to your vite config
5151
5252 ``` js
53- {
54- {
55- [' svelte' ];
56- }
53+ optimizeDeps: {
54+ exclude: [' svelte' ];
5755 }
5856 ```
5957
You can’t perform that action at this time.
0 commit comments