text: import adapter from '@sveltejs/adapter-static';
  
  import dotenv from 'dotenv';
  
  dotenv.config();
  
  const dev = process.env.NODE_ENV === 'development';
  
  /** @type {import('@sveltejs/kit').Config} */
  const config = {
    kit: {
      adapter: adapter({ pages: process.env.BUILD_DIR }),
      paths: {
        base: dev ? '' : process.env.BASE_PATH,
      },
      package: {
        exports: (path) => ['index.js'].includes(path),
      },
    },
  };
  
  export default config;
  