forked from hamcha/tghandbook
20 lines
351 B
TypeScript
20 lines
351 B
TypeScript
|
import path from "path";
|
||
|
import { defineConfig } from "vite";
|
||
|
import { VitePWA } from "vite-plugin-pwa";
|
||
|
|
||
|
export default defineConfig({
|
||
|
plugins: [
|
||
|
VitePWA({
|
||
|
devOptions: {
|
||
|
enabled: true,
|
||
|
},
|
||
|
}),
|
||
|
],
|
||
|
resolve: {
|
||
|
alias: {
|
||
|
"~": path.resolve(__dirname, "./src"),
|
||
|
"@": path.resolve(__dirname),
|
||
|
},
|
||
|
},
|
||
|
});
|