From 96ee00242f350b391dcc1cf4d72a442c969f565e Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Wed, 22 Dec 2021 13:59:13 +0100 Subject: add pw-frontend --- web/pw-frontend/vite.config.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 web/pw-frontend/vite.config.js (limited to 'web/pw-frontend/vite.config.js') 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() + ], +}) -- cgit v1.2.3