Skip to content

Commit de68785

Browse files
committed
prefixed local version with v
1 parent f67b338 commit de68785

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

web/webpack.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ const apps = glob
2424
.sync("src/apps/*/entry/app-config.ts")
2525
.map((path) => path.substring(9, path.indexOf("/", 9)));
2626

27-
// eslint-disable-next-line @typescript-eslint/no-var-requires
28-
let bundleInfo: { version: string } = { version: require("./package.json").version as string };
27+
let bundleInfo: { version: string } = {
28+
version: `v${require("./package.json").version as string}`, // eslint-disable-line @typescript-eslint/no-var-requires
29+
};
2930
try {
3031
bundleInfo = JSON.parse(readFileSync(".bundle-info.json").toString()) as typeof bundleInfo;
3132
} catch (error) {

0 commit comments

Comments
 (0)