Improve build times

* Fix bulma/buefy being imported many (many !!!) times

* Remove javascript-time-ago because date-fns pretty much does the same
thing

* Make sure languages are loaded asynchronously

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-10-13 20:39:59 +02:00
parent f627cab292
commit 93cecbe49c
66 changed files with 167 additions and 283 deletions

View File

@@ -122,8 +122,6 @@ export default class AboutInstance extends Vue {
</script>
<style lang="scss" scoped>
@import "../../variables.scss";
section {
&:not(:first-child) {
margin: 2rem auto;

View File

@@ -166,8 +166,6 @@ export default class AboutMobilizon extends Vue {}
</script>
<style lang="scss" scoped>
@import "../../variables.scss";
.hero.is-primary {
background: $background-color;
.subtitle {

View File

@@ -51,8 +51,6 @@ export default class Privacy extends Vue {
}
</script>
<style lang="scss" scoped>
@import "@/variables.scss";
main > .container {
background: $white;

View File

@@ -27,8 +27,6 @@ export default class Rules extends Vue {
}
</script>
<style lang="scss" scoped>
@import "@/variables.scss";
main > .container {
background: $white;
}