satellite/admin/back-office/ui: speed up build command

This change speeds up the build of the new satellite admin web app
using the same method that 8b0d25c used to speed up the build of the
new satellite web app.

New build time:   23.394s
Old build time: 1m40.930s

Change-Id: Ic6fcfdfc73b78bc26bddc421c608076b23532967
This commit is contained in:
Jeremy Wharton 2023-10-26 23:31:02 -05:00
parent 1aadc0974d
commit eff1719977
4 changed files with 7 additions and 29 deletions

View File

@ -13,10 +13,6 @@ import App from './App.vue'
// Composables
import { createApp } from 'vue'
// Styles
import './styles/settings.scss'
// import './styles/styles.scss'
// Plugins
import { registerPlugins } from '@/plugins'

View File

@ -9,7 +9,7 @@
// Styles
import '@mdi/font/css/materialdesignicons.css'
// import 'vuetify/styles'
import 'vuetify/styles'
// Inter Font using FontSource
import '@fontsource-variable/inter';

View File

@ -1,31 +1,15 @@
// Copyright (C) 2023 Storj Labs, Inc.
// See LICENSE for copying information.
/**
* src/styles/settings.scss
*
* Configures SASS variables and Vuetify overwrites
*/
// Warning
// Duplicated CSS
// Placing actual styles or importing a regular stylesheet
// into the settings file will cause them to be
// duplicated everywhere the file is imported.
$font-family: 'Inter Variable', sans-serif;
// Only put variables, mixins, and functions in the settings file,
// styles should be placed in the main stylesheet or loaded another way.
// Use SASS https://vuetifyjs.com/en/features/sass-variables/
// @use 'vuetify' with (
// // $utilities: false,
// $color-pack: false,
// $body-font-family: 'Inter',
// );
// To obtain settings from Vuetify, you must forward its variables from within your local stylesheet
@forward 'vuetify' with (
// $utilities: false,
@use 'vuetify/settings' with (
$color-pack: false,
$body-font-family: 'Inter Variable',
$body-font-family: $font-family,
);

View File

@ -6,8 +6,6 @@
*
*/
@use './settings';
// Light Theme
.v-theme--light {
--v-border-color: 0, 0, 0;