Skip to content

Commit ff4cb6b

Browse files
committed
Removed uneccessary code
1 parent 2d950c1 commit ff4cb6b

File tree

1 file changed

+1
-3
lines changed
  • packages/qwik/src/optimizer/src/plugins

1 file changed

+1
-3
lines changed

packages/qwik/src/optimizer/src/plugins/plugin.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -968,9 +968,7 @@ export const isDev = ${JSON.stringify(isDev)};
968968
let clientManifestPath =
969969
opts.manifestInputPath || path.resolve(opts.clientOutDir, Q_MANIFEST_FILENAME);
970970
if (!(await maybeFs.promises.stat(clientManifestPath).catch(() => false))) {
971-
// Use opts.clientOutDir as fallback instead of hardcoded CLIENT_OUT_DIR
972-
// to respect custom output directory configurations
973-
clientManifestPath = path.resolve(opts.clientOutDir, Q_MANIFEST_FILENAME);
971+
clientManifestPath = path.resolve(opts.rootDir, CLIENT_OUT_DIR, Q_MANIFEST_FILENAME);
974972
}
975973
try {
976974
const clientManifestStr = await maybeFs.promises.readFile(clientManifestPath, 'utf-8');

0 commit comments

Comments
 (0)