You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
351 B
19 lines
351 B
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), |
|
}, |
|
}, |
|
});
|
|
|