Skip to content

Commit 5083f68

Browse files
committed
fix: init without debug logs by default
1 parent d472881 commit 5083f68

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/vite/helpers/init.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ function ensureScripts(pkg: PackageJson) {
5252
pkg.scripts = pkg.scripts ?? {};
5353
pkg.scripts['dev:ios'] = "concurrently -k -n vite,ns 'npm run dev:server:ios' 'wait-on tcp:5173 && npm run ios'";
5454
pkg.scripts['dev:android'] = "concurrently -k -n vite,ns 'npm run dev:server:android' 'wait-on tcp:5173 && npm run android'";
55-
pkg.scripts['dev:server:ios'] = 'VITE_DEBUG_LOGS=1 vite serve -- --env.ios --env.hmr';
56-
pkg.scripts['dev:server:android'] = 'VITE_DEBUG_LOGS=1 vite serve -- --env.android --env.hmr';
57-
pkg.scripts['ios'] = 'VITE_DEBUG_LOGS=1 ns debug ios';
58-
pkg.scripts['android'] = 'VITE_DEBUG_LOGS=1 ns debug android';
55+
pkg.scripts['dev:server:ios'] = 'vite serve -- --env.ios --env.hmr';
56+
pkg.scripts['dev:server:android'] = 'vite serve -- --env.android --env.hmr';
57+
pkg.scripts['ios'] = 'ns debug ios';
58+
pkg.scripts['android'] = 'ns debug android';
5959
}
6060

6161
function ensureGitignore() {

0 commit comments

Comments
 (0)