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 = {
104
104
rules : {
105
105
'no-undef' : 'off' ,
106
106
'no-unused-vars' : 'off' ,
107
+ 'no-unused-labels' : 'off' ,
107
108
'no-console' : 'off' ,
108
109
'padded-blocks' : 'off' ,
109
110
'node/no-missing-import' : 'off' ,
@@ -117,6 +118,7 @@ module.exports = {
117
118
rules : {
118
119
'no-undef' : 'off' ,
119
120
'no-unused-vars' : 'off' ,
121
+ 'no-unused-labels' : 'off' ,
120
122
'no-console' : 'off' ,
121
123
'padded-blocks' : 'off' ,
122
124
'node/no-missing-import' : 'off' ,
Original file line number Diff line number Diff line change 50
50
To get the old behavior back, add the following to your vite config
51
51
52
52
``` js
53
- {
54
- {
55
- [' svelte' ];
56
- }
53
+ optimizeDeps: {
54
+ exclude: [' svelte' ];
57
55
}
58
56
```
59
57
You can’t perform that action at this time.
0 commit comments