We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1aa643 commit 2592730Copy full SHA for 2592730
src/core/unplugin.ts
@@ -8,7 +8,7 @@ import { shouldTransform } from './utils'
8
export default createUnplugin<Options>((options = {}) => {
9
const filter = createFilter(
10
options.include || [/\.vue$/, /\.vue\?vue/],
11
- options.exclude || [/node_modules/, /\.git/, /\.nuxt/],
+ options.exclude || [/[\\/]node_modules[\\/]/, /[\\/]\.git[\\/]/, /[\\/]\.nuxt[\\/]/],
12
)
13
const ctx: Context = new Context(options)
14
0 commit comments