mirror of
https://github.com/LukeHagar/sveltekit-og.git
synced 2025-12-09 20:57:45 +00:00
18 lines
306 B
JavaScript
18 lines
306 B
JavaScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import nodePolyfills from 'rollup-plugin-node-polyfills';
|
|
|
|
const config = {
|
|
plugins: [sveltekit()],
|
|
define: {
|
|
_a: 'undefined'
|
|
},
|
|
build: {
|
|
polyfillModulePreload: true,
|
|
rollupOptions: {
|
|
plugins: [nodePolyfills()]
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|