diff --git a/postcss.config.js b/postcss.config.js deleted file mode 100644 index 961986e..0000000 --- a/postcss.config.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - plugins: { - autoprefixer: {} - } -} diff --git a/vite.config.ts b/vite.config.ts index d252a0e..5ea11b2 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,19 +1,22 @@ -import { fileURLToPath, URL } from "node:url"; +import { fileURLToPath, URL } from 'node:url' -import { defineConfig } from "vite"; -import { imagetools } from "vite-imagetools"; -import vue from "@vitejs/plugin-vue"; +import { defineConfig } from 'vite' +import { imagetools } from 'vite-imagetools' +import vue from '@vitejs/plugin-vue' // https://vitejs.dev/config/ export default defineConfig({ - base: "/sebin/", + base: '/sebin/', plugins: [vue(), imagetools()], resolve: { alias: { - "@": fileURLToPath(new URL("./src", import.meta.url)), - }, + '@': fileURLToPath(new URL('./src', import.meta.url)) + } }, css: { devSourcemap: true, - }, -}); + postcss: { + plugins: [require('autoprefixer')] + } + } +})