diff --git a/packages/vite/src/buildRscFeServer.ts b/packages/vite/src/buildRscFeServer.ts index a34379c5599f..078346566233 100644 --- a/packages/vite/src/buildRscFeServer.ts +++ b/packages/vite/src/buildRscFeServer.ts @@ -36,7 +36,7 @@ export const buildRscFeServer = async ({ const { clientEntryFiles, serverEntryFiles } = await rscBuild(viteConfigPath) const clientBuildOutput = await viteBuild({ - configFile: viteConfigPath, + // configFile: viteConfigPath, root: webSrc, plugins: [react(), rscIndexPlugin()], build: { @@ -194,7 +194,7 @@ export const buildRscFeServer = async ({ // https://github.com/microsoft/TypeScript/issues/53656 have both landed we // should try to do this instead: // const clientBuildManifest: ViteBuildManifest = await import( - // path.join(getPaths().web.dist, 'build-manifest.json'), + // path.join(getPaths().web.dist, 'client-build-manifest.json'), // { with: { type: 'json' } } // ) // NOTES: diff --git a/packages/vite/src/index.ts b/packages/vite/src/index.ts index 1684cb7299e9..d53c944de08d 100644 --- a/packages/vite/src/index.ts +++ b/packages/vite/src/index.ts @@ -12,8 +12,7 @@ import { getConfig, getPaths } from '@redwoodjs/project-config' import { handleJsAsJsx } from './vite-plugin-jsx-loader' /** - * Preconfigured vite plugin, with required config for Redwood apps. - * + * Pre-configured vite plugin, with required config for Redwood apps. */ export default function redwoodPluginVite(): PluginOption[] { const rwPaths = getPaths()