From aec4ec0b61e5f5e655596b8a868c11c26f080887 Mon Sep 17 00:00:00 2001 From: Orta Therox Date: Mon, 27 Nov 2023 03:23:36 +0000 Subject: [PATCH] Tell the shell how to run the rw-vite-xx bins (#9576) --- packages/vite/bins/rw-vite-build.mjs | 1 + packages/vite/bins/rw-vite-dev.mjs | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/vite/bins/rw-vite-build.mjs b/packages/vite/bins/rw-vite-build.mjs index 9710a1c3c076..a4b5566c02b5 100755 --- a/packages/vite/bins/rw-vite-build.mjs +++ b/packages/vite/bins/rw-vite-build.mjs @@ -1,3 +1,4 @@ +#!/usr/bin/env node import fs from 'node:fs' import yargsParser from 'yargs-parser' diff --git a/packages/vite/bins/rw-vite-dev.mjs b/packages/vite/bins/rw-vite-dev.mjs index ffd641c01433..ba0e4e5a205a 100755 --- a/packages/vite/bins/rw-vite-dev.mjs +++ b/packages/vite/bins/rw-vite-dev.mjs @@ -1,3 +1,4 @@ +#!/usr/bin/env node import { createServer } from 'vite' import yargsParser from 'yargs-parser'