From 4d9fcbe23ff488d480254d0b4800df2c5d8ea47b Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 16 Apr 2024 14:12:02 +0200 Subject: [PATCH] feat(lilium) #7220 config --- cypress.config.js | 7 +++++++ vite.config.js | 14 ++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 vite.config.js diff --git a/cypress.config.js b/cypress.config.js index e2046d6c4e9..2388d293a46 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -20,4 +20,11 @@ module.exports = defineConfig({ // implement node event listeners here }, }, + + component: { + devServer: { + framework: 'vue', + bundler: 'vite', + }, + }, }); diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 00000000000..69726edd9c6 --- /dev/null +++ b/vite.config.js @@ -0,0 +1,14 @@ +import { fileURLToPath, URL } from 'url'; + +import { defineConfig } from 'vite'; +import vue from '@vitejs/plugin-vue'; + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [vue()], + resolve: { + alias: { + '@': fileURLToPath(new URL('./src', import.meta.url)), + }, + }, +});