perf: refs #7220 dependency

This commit is contained in:
Javier Segarra 2024-09-27 01:02:52 +02:00
parent 10fa6758c9
commit 908aa6de97
4 changed files with 584 additions and 471 deletions

View File

@ -22,7 +22,7 @@ module.exports = defineConfig({
},
component: {
specPattern: 'test/cypress/components/*.spec.js',
specPattern: 'test/cypress/components/**/*.spec.js',
devServer: {
framework: 'vue',
bundler: 'vite',

View File

@ -10,7 +10,7 @@
"lint": "eslint --ext .js,.vue ./",
"format": "prettier --write \"**/*.{js,vue,scss,html,md,json}\" --ignore-path .gitignore",
"test:e2e": "cypress open",
"test:components": "cypress run --component",
"test:components": "cypress run -p 9000 --component",
"test:e2e:ci": "cd ../salix && gulp docker && cd ../salix-front && cypress run",
"test": "echo \"See package.json => scripts for available tests.\" && exit 0",
"test:unit": "vitest",
@ -21,6 +21,7 @@
"addReferenceTag": "node .husky/addReferenceTag.js"
},
"dependencies": {
"@modyfi/vite-plugin-yaml": "1.0.4",
"@quasar/cli": "^2.3.0",
"@quasar/extras": "^1.16.9",
"axios": "^1.4.0",

File diff suppressed because it is too large Load Diff

View File

@ -2,13 +2,20 @@ import { fileURLToPath, URL } from 'url';
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import ViteYaml from '@modyfi/vite-plugin-yaml';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
plugins: [vue(), ViteYaml()],
resolve: {
alias: {
src: fileURLToPath(new URL('./src', import.meta.url)),
},
},
css: {
preprocessorOptions: {
scss: {
additionalData: `@import 'src/css/quasar.variables.scss';`,
},
},
},
});