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 ca57c6e commit e12c1e2Copy full SHA for e12c1e2
1 file changed
src/config/resolvers/builder.ts
@@ -62,7 +62,7 @@ async function installPkg(pkg: string, root: string) {
62
}
63
64
function hasNitroViteConfig(options: NitroOptions): boolean {
65
- const configExts = [".ts", ".mts", ".js", ".mjs"];
+ const configExts = [".ts", ".mts", ".cts", ".js", ".mjs", ".cjs"];
66
for (const ext of configExts) {
67
const configPath = resolve(options.rootDir, `vite.config${ext}`);
68
if (existsSync(configPath)) {
0 commit comments