mirror of
https://github.com/revoltchat/revite.git
synced 2025-04-21 15:57:38 -05:00
Remove twemoji dependency.
Support re-connecting after going / starting offline.
This commit is contained in:
parent
01efee817f
commit
29bb93f399
12 changed files with 108 additions and 276 deletions
|
@ -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
|
||||
})
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue