Skip to content

Commit 8b6aef7

Browse files
committed
chore: remove console log
1 parent 8a2d4f3 commit 8b6aef7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/node/staticDataPlugin.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// TODO figure out why it causes full page reload
2-
31
import { Plugin, ViteDevServer, loadConfigFromFile, normalizePath } from 'vite'
42
import { dirname, resolve } from 'path'
53
import { isMatch } from 'micromatch'
@@ -113,9 +111,6 @@ export const staticDataPlugin: Plugin = {
113111
// invalidate loader file
114112
delete idToLoaderModulesMap[id]
115113
}
116-
if (pattern) {
117-
console.log(pattern, isMatch(ctx.file, pattern))
118-
}
119114
if (isLoaderFile || (pattern && isMatch(ctx.file, pattern))) {
120115
ctx.modules.push(server.moduleGraph.getModuleById(id)!)
121116
}

0 commit comments

Comments
 (0)