File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,8 @@ export class Context {
38
38
setServer ( server : ViteDevServer ) {
39
39
this . _server = server
40
40
41
- const { globs, dirs } = this . options
41
+ const { globs } = this . options
42
42
43
- server . watcher . add ( dirs )
44
43
server . watcher
45
44
. on ( 'unlink' , ( path ) => {
46
45
if ( ! matchGlobs ( path , globs ) )
Original file line number Diff line number Diff line change @@ -12,15 +12,6 @@ function VitePluginComponents(options: Options = {}): Plugin {
12
12
return {
13
13
name : 'vite-plugin-components' ,
14
14
enforce : 'post' ,
15
- config ( ) {
16
- return {
17
- server : {
18
- watch : {
19
- disableGlobbing : false ,
20
- } ,
21
- } ,
22
- }
23
- } ,
24
15
configResolved ( config ) {
25
16
if ( config . plugins . find ( i => i . name === 'vite-plugin-vue2' ) )
26
17
options . transformer = options . transformer || 'vue2'
You can’t perform that action at this time.
0 commit comments