[CORL-132] Show version info (#2224)

* feat: show version info

* fix: use version from talk-common/version
This commit is contained in:
Kiwi
2019-03-14 22:09:16 +00:00
committed by Wyatt Johnson
parent d37333be89
commit 1bf63285bc
13 changed files with 123 additions and 40 deletions
+6 -1
View File
@@ -12,6 +12,9 @@ import webpack, { Configuration, Plugin } from "webpack";
import WebpackAssetsManifest from "webpack-assets-manifest";
import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
// TODO: import form talk-common/version, for some reason this fails currently.
// Try again when we have a chance to upgrade typescript.
import { version } from "../common/version";
import { Config } from "./config";
import { createClientEnv } from "./config";
import paths from "./paths";
@@ -49,7 +52,9 @@ export default function createWebpackConfig(
result[key] = JSON.stringify((env as any)[key]);
return result;
},
{}
{
TALK_VERSION: JSON.stringify(version),
}
),
};