Skip to content

Commit

Permalink
fix(dts): fix default value for routesFolder
Browse files Browse the repository at this point in the history
Fix #320
  • Loading branch information
posva committed Feb 22, 2024
1 parent 822c61b commit 1ed1eda
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,15 +196,7 @@ export interface Options
export const DEFAULT_OPTIONS: ResolvedOptions = {
extensions: ['.vue'],
exclude: [],
routesFolder: [
{
src: 'src/pages',
exclude: (excluded) => excluded,
filePatterns: (filePatterns) => filePatterns,
extensions: (extensions) => extensions,
path: (filepath) => filepath,
},
],
routesFolder: [{ src: 'src/pages' }],
filePatterns: '**/*',
routeBlockLang: 'json5',
getRouteName: getFileBasedRouteName,
Expand Down

0 comments on commit 1ed1eda

Please sign in to comment.