We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/hannoeru/vite-plugin-pages/blob/main/src/utils.ts#L38 isTarget not validate exclude options
isTarget
https://github.com/hannoeru/vite-plugin-pages/blob/main/src/utils.ts#L38
System: OS: Windows 10 10.0.22621 CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz Memory: 4.61 GB / 15.74 GB Binaries: Node: 16.16.0 - C:\Program Files\nodejs\node.EXE npm: 9.5.0 - C:\Program Files\nodejs\npm.CMD Browsers: Edge: Spartan (44.22621.1413.0), Chromium (111.0.1661.44) Internet Explorer: 11.0.22621.1
npm
The text was updated successfully, but these errors were encountered:
export default defineConfig(({ mode }) => { return { plugins: [ // https://www.npmjs.com/package/vite-plugin-pages Pages({ dirs: 'src/views', exclude: ['**/{_components_,_services_,_configs_,constants_,_utils_,_styles_}/**'], }), ], }; });
When I create a new directory that matches the exclude rule, the corresponding route will be generated, which is not as expected.
{ "name": "news-_configs_", "path": "/news/_configs_", "props": true }
Sorry, something went wrong.
It's happend to me too.any solutions?
No branches or pull requests
Describe the bug
https://github.com/hannoeru/vite-plugin-pages/blob/main/src/utils.ts#L38
isTarget
not validate exclude optionsReproduction
https://github.com/hannoeru/vite-plugin-pages/blob/main/src/utils.ts#L38
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: