forked from verdnatura/salix-front
perf: refs #7220 dependency
This commit is contained in:
parent
10fa6758c9
commit
908aa6de97
|
@ -22,7 +22,7 @@ module.exports = defineConfig({
|
||||||
},
|
},
|
||||||
|
|
||||||
component: {
|
component: {
|
||||||
specPattern: 'test/cypress/components/*.spec.js',
|
specPattern: 'test/cypress/components/**/*.spec.js',
|
||||||
devServer: {
|
devServer: {
|
||||||
framework: 'vue',
|
framework: 'vue',
|
||||||
bundler: 'vite',
|
bundler: 'vite',
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"lint": "eslint --ext .js,.vue ./",
|
"lint": "eslint --ext .js,.vue ./",
|
||||||
"format": "prettier --write \"**/*.{js,vue,scss,html,md,json}\" --ignore-path .gitignore",
|
"format": "prettier --write \"**/*.{js,vue,scss,html,md,json}\" --ignore-path .gitignore",
|
||||||
"test:e2e": "cypress open",
|
"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:e2e:ci": "cd ../salix && gulp docker && cd ../salix-front && cypress run",
|
||||||
"test": "echo \"See package.json => scripts for available tests.\" && exit 0",
|
"test": "echo \"See package.json => scripts for available tests.\" && exit 0",
|
||||||
"test:unit": "vitest",
|
"test:unit": "vitest",
|
||||||
|
@ -21,6 +21,7 @@
|
||||||
"addReferenceTag": "node .husky/addReferenceTag.js"
|
"addReferenceTag": "node .husky/addReferenceTag.js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@modyfi/vite-plugin-yaml": "1.0.4",
|
||||||
"@quasar/cli": "^2.3.0",
|
"@quasar/cli": "^2.3.0",
|
||||||
"@quasar/extras": "^1.16.9",
|
"@quasar/extras": "^1.16.9",
|
||||||
"axios": "^1.4.0",
|
"axios": "^1.4.0",
|
||||||
|
|
1037
pnpm-lock.yaml
1037
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -2,13 +2,20 @@ import { fileURLToPath, URL } from 'url';
|
||||||
|
|
||||||
import { defineConfig } from 'vite';
|
import { defineConfig } from 'vite';
|
||||||
import vue from '@vitejs/plugin-vue';
|
import vue from '@vitejs/plugin-vue';
|
||||||
|
import ViteYaml from '@modyfi/vite-plugin-yaml';
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [vue()],
|
plugins: [vue(), ViteYaml()],
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
src: fileURLToPath(new URL('./src', import.meta.url)),
|
src: fileURLToPath(new URL('./src', import.meta.url)),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
css: {
|
||||||
|
preprocessorOptions: {
|
||||||
|
scss: {
|
||||||
|
additionalData: `@import 'src/css/quasar.variables.scss';`,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue