Skip to content

Commit

Permalink
fix: exclude node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyuanzmj committed Nov 9, 2023
1 parent 9c12994 commit 30e10ee
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
5 changes: 2 additions & 3 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "run-p \"build:*\"",
"build:vite": "vite build",
"build:rollup": "rollup -c rollup.config.js",
"build": "vite build",
"preview": "vite preview",
"typecheck": "vue-tsc --noEmit"
},
"dependencies": {
"@vueuse/core": "^10.5.0",
"ofetch": "^1.3.3",
"pinia": "^2.1.7",
"vue": "^3.3.4"
},
Expand Down
7 changes: 3 additions & 4 deletions playground/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/core/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export type OptionsResolved = Pick<Required<Options>, 'include'> &
export function resolveOption(options: Options): OptionsResolved {
return {
include: [/\.([cm]?[jt]sx?|vue)$/],
exclude: [/node_modules/],
...options,
}
}
6 changes: 0 additions & 6 deletions src/core/utils.ts

This file was deleted.

0 comments on commit 30e10ee

Please sign in to comment.