chore: remove unneeded babel packages and add peerDependencies (#828)
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/828 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:
@ -1,3 +1,4 @@
|
||||
import { defineConfig } from 'vite'
|
||||
const {createVuePlugin} = require('vite-plugin-vue2')
|
||||
const {VitePWA} = require('vite-plugin-pwa')
|
||||
const path = require('path')
|
||||
@ -9,7 +10,7 @@ const pathSrc = path.resolve(__dirname, './src')
|
||||
const SCSS_IMPORT_PREFIX = `@use "sass:math";
|
||||
@import "${pathSrc}/styles/variables";`
|
||||
|
||||
module.exports = {
|
||||
export default defineConfig({
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: { additionalData: SCSS_IMPORT_PREFIX },
|
||||
@ -116,4 +117,4 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user