fix: 🔨 move vite dev to main

This commit is contained in:
Michel Roux 2024-09-02 14:43:39 +02:00
parent 2bad1852d7
commit 19c56ef31d
2 changed files with 4 additions and 4 deletions

View File

@ -27,6 +27,7 @@
"pinia": "^2.2.2", "pinia": "^2.2.2",
"toastify-js": "^1.12.0", "toastify-js": "^1.12.0",
"vite": "^5.4.2", "vite": "^5.4.2",
"vite-plugin-vue-devtools": "^7.3.9",
"vue": "^3.4.38", "vue": "^3.4.38",
"vue-material-design-icons": "^5.3.0", "vue-material-design-icons": "^5.3.0",
"vue-router": "^4.4.3" "vue-router": "^4.4.3"
@ -38,7 +39,6 @@
"@nextcloud/stylelint-config": "^3.0.1", "@nextcloud/stylelint-config": "^3.0.1",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-pinia": "^0.4.1", "eslint-plugin-pinia": "^0.4.1",
"eslint-plugin-prettier": "^5.2.1", "eslint-plugin-prettier": "^5.2.1"
"vite-plugin-vue-devtools": "^7.3.9"
} }
} }

View File

@ -14,7 +14,7 @@ const config = defineConfig(({ mode }) => ({
sourcemap: mode !== 'production', sourcemap: mode !== 'production',
}, },
define: { define: {
__VUE_PROD_DEVTOOLS__: mode !== 'production' __VUE_PROD_DEVTOOLS__: mode !== 'production',
}, },
plugins: [vueDevTools()], plugins: [vueDevTools()],
})) }))