From 0be76b3ce088e7faa0acac8a9115f3798d579731 Mon Sep 17 00:00:00 2001 From: Chris Gervang Date: Sat, 18 May 2024 18:52:14 -0700 Subject: [PATCH] chore: update version build comments Ocular uses a typescript plugin now: https://github.com/uber-web/ocular/blob/1f78a1070db452ce8d88fa10e013c1e77513a903/modules/dev-tools/src/ts-plugins/ts-transform-version-inline/index.ts#L20 --- modules/core/src/lib/init.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/src/lib/init.ts b/modules/core/src/lib/init.ts index 2ebb717291e..08e2b2cf1b8 100644 --- a/modules/core/src/lib/init.ts +++ b/modules/core/src/lib/init.ts @@ -30,8 +30,8 @@ declare global { } function checkVersion() { - // Version detection using babel plugin - // Fallback for tests and SSR since global variable is defined by Webpack. + // Version detection using typescript plugin. + // Fallback for tests and SSR since global variable is defined by esbuild. const version = typeof __VERSION__ !== 'undefined' ? __VERSION__