Allow importing package without webpack

This commit is contained in:
Andras Schmelczer 2026-09-19 22:19:37 +01:00
commit 260d32795a

View file

@ -0,0 +1,7 @@
declare const __CURRENT_VERSION__: string;
/** Webpack replaces this identifier in bundles; source imports use a stable fallback. */
export const packageVersion =
typeof __CURRENT_VERSION__ === "undefined"
? "development"
: __CURRENT_VERSION__;