feat: provide global variables in all components (#669)
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/669 Reviewed-by: konrad <k@knt.li> Co-authored-by: dpschen <dpschen@noreply.kolaente.de> Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
@ -3,7 +3,16 @@ const {VitePWA} = require('vite-plugin-pwa')
|
||||
const path = require('path')
|
||||
const {visualizer} = require('rollup-plugin-visualizer')
|
||||
|
||||
const pathSrc = path.resolve(__dirname, './src')
|
||||
|
||||
module.exports = {
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
additionalData: `@import "${pathSrc}/styles/variables/_all.scss";`,
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
createVuePlugin(),
|
||||
VitePWA({
|
||||
|
Reference in New Issue
Block a user