Skip to content

Commit 96ca023

Browse files
author
Guy Bedford
committed
add version export
1 parent 902403f commit 96ca023

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/componentize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
import { fileURLToPath } from 'node:url';
1919
import { stdout, stderr, exit, platform } from 'node:process';
2020
import { init as lexerInit, parse } from 'es-module-lexer';
21-
const { version } = JSON.parse(
21+
export const { version } = JSON.parse(
2222
await readFile(new URL('../package.json', import.meta.url), 'utf8')
2323
);
2424
const isWindows = platform === 'win32';

0 commit comments

Comments
 (0)