mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-09 10:15:26 +00:00
Remove twemoji dependency.
Support re-connecting after going / starting offline.
This commit is contained in:
@@ -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
|
||||
})
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user