From 2fc7e9fe71fd7be3d717d5be68e5bacb48ff4bd8 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Fri, 3 Jun 2022 21:30:30 +0800 Subject: [PATCH] feat: expose `version` --- packages/vite/src/node/publicUtils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/vite/src/node/publicUtils.ts b/packages/vite/src/node/publicUtils.ts index e24db763814dec..31c7135965a3d8 100644 --- a/packages/vite/src/node/publicUtils.ts +++ b/packages/vite/src/node/publicUtils.ts @@ -3,6 +3,7 @@ * This file will be bundled to ESM and CJS and redirected by ../index.cjs * Please control the side-effects by checking the ./dist/node-cjs/publicUtils.cjs bundle */ +export { VERSION as version } from './constants' export { splitVendorChunkPlugin, splitVendorChunk