Remove twemoji dependency.

Support re-connecting after going / starting offline.
This commit is contained in:
Paul 2021-06-22 19:34:52 +01:00
parent 01efee817f
commit 29bb93f399
12 changed files with 108 additions and 276 deletions

View file

@ -19,6 +19,10 @@ function getGitRevision() {
}
}
function getVersion() {
return readFileSync('VERSION').toString();
}
export default defineConfig({
plugins: [
preact(),
@ -51,6 +55,7 @@ export default defineConfig({
}),
replace({
__GIT_REVISION__: getGitRevision(),
__APP_VERSION__: getVersion(),
preventAssignment: true
})
],