Skip to content

Commit 3e9570b

Browse files
authored
chore: run production build for nuxt build system tests (#6682)
1 parent 9bc6964 commit 3e9570b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build-system-tests/scripts/mega-app-start.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,12 @@ echo "###########################"
5656
echo "cd ./mega-apps/${MEGA_APP_NAME}"
5757
cd ./mega-apps/${MEGA_APP_NAME}
5858

59-
if [ "$BUILD_TOOL" == 'vite' ] || [ "$BUILD_TOOL" == 'nuxt' ]; then
59+
if [ "$BUILD_TOOL" == 'vite' ]; then
6060
echo "npm run dev -- --port 3000 &"
6161
npm run dev -- --port 3000 &
62+
elif [ "$BUILD_TOOL" == 'nuxt' ]; then
63+
echo "npm run preview -- --port 3000 &"
64+
npm run preview -- --port 3000 &
6265
elif [ "$FRAMEWORK" == 'vue' ]; then
6366
echo "npm run serve -- --port 3000 &"
6467
npm run serve -- --port 3000 &

0 commit comments

Comments
 (0)