text: // Consult https://vitejs.dev/config/ to learn about these options
  import { join } from 'path';
  import { readFileSync } from 'fs';
  import { cwd } from 'process';
  
  const pkg = JSON.parse(readFileSync(join(cwd(), 'package.json')));
  
  /** @type {import('vite').UserConfig} */
  export default {
  	ssr: {
  		noExternal: Object.keys(pkg.dependencies || {})
  	}
  };
  