From 15ebe1e6df2e79bc22e123efedb46d87063ad3d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0=20/=20green?= Date: Mon, 20 Jun 2022 23:08:07 +0900 Subject: [PATCH] feat: export esbuildVersion and rollupVersion (#8675) --- packages/vite/src/node/publicUtils.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/vite/src/node/publicUtils.ts b/packages/vite/src/node/publicUtils.ts index 664b9375275403..5bf523a87f5799 100644 --- a/packages/vite/src/node/publicUtils.ts +++ b/packages/vite/src/node/publicUtils.ts @@ -4,6 +4,8 @@ * Please control the side-effects by checking the ./dist/node-cjs/publicUtils.cjs bundle */ export { VERSION as version } from './constants' +export { version as esbuildVersion } from 'esbuild' +export { VERSION as rollupVersion } from 'rollup' export { splitVendorChunkPlugin, splitVendorChunk