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:
parent
1aadc0974d
commit
eff1719977
@ -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'
|
||||
|
||||
|
@ -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';
|
||||
|
@ -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
|
||||
*/
|
||||
|
||||
$font-family: 'Inter Variable', sans-serif;
|
||||
|
||||
// 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.
|
||||
|
||||
// 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,
|
||||
);
|
@ -6,8 +6,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
@use './settings';
|
||||
|
||||
// Light Theme
|
||||
.v-theme--light {
|
||||
--v-border-color: 0, 0, 0;
|
||||
|
Loading…
Reference in New Issue
Block a user