mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 11:45:34 +00:00
resolve fonts edit
This commit is contained in:
@@ -2,19 +2,12 @@ import { defineConfig } from 'vite';
|
||||
import vue from '@vitejs/plugin-vue';
|
||||
|
||||
import { VitePWA } from 'vite-plugin-pwa';
|
||||
import { resolve } from 'path';
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
server: {
|
||||
port: 2137,
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
$fonts: resolve('/fonts'),
|
||||
$images: resolve('/images'),
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
vue(),
|
||||
VitePWA({
|
||||
@@ -23,7 +16,6 @@ export default defineConfig({
|
||||
devOptions: {
|
||||
suppressWarnings: true,
|
||||
enabled: true,
|
||||
type: 'classic',
|
||||
},
|
||||
|
||||
workbox: {
|
||||
|
||||
Reference in New Issue
Block a user