Skip to content

Commit 3fb1708

Browse files
Revert "feat: use @nrwl/vite:preview-server executor (#47)" (#58)
1 parent d90860d commit 3fb1708

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/qwik-nx/src/generators/application/utils/get-qwik-application-project-params.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ function getPreviewTarget(
5353
params: UpdateQwikAppConfigurationParams
5454
): TargetConfiguration {
5555
return {
56-
executor: '@nrwl/vite:preview-server',
56+
executor: 'nx:run-commands',
5757
options: {
58-
buildTarget: `${params.projectName}:build-ssr`,
58+
command: 'vite preview',
59+
cwd: `${params.projectRoot}`,
5960
},
60-
dependsOn: ['build'],
61+
dependsOn: ['build-ssr'],
6162
};
6263
}
6364
function getTestTarget(

0 commit comments

Comments
 (0)