aboutsummaryrefslogtreecommitdiff
path: root/web/pw-frontend/vite.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/pw-frontend/vite.config.js')
-rw-r--r--web/pw-frontend/vite.config.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/pw-frontend/vite.config.js b/web/pw-frontend/vite.config.js
new file mode 100644
index 0000000..7682f94
--- /dev/null
+++ b/web/pw-frontend/vite.config.js
@@ -0,0 +1,12 @@
+import { defineConfig } from 'vite'
+import { svelte } from '@sveltejs/vite-plugin-svelte'
+import nodePolyfills from 'rollup-plugin-polyfill-node'
+
+
+// https://vitejs.dev/config/
+export default defineConfig({
+ plugins: [
+ svelte(),
+ nodePolyfills()
+ ],
+})