Skip to content
Snippets Groups Projects
vite.config.js 317 B
Newer Older
  • Learn to ignore specific revisions
  • const { defineConfig } = require('vite')
    
    Midhun Suresh's avatar
    Midhun Suresh committed
    const { resolve } = require("path");
    
    
    module.exports = defineConfig({
    
    Midhun Suresh's avatar
    Midhun Suresh committed
        build: {
        rollupOptions: {
          input: {
            main: resolve(__dirname, 'chatterbox.html'),
    
            parent: resolve(__dirname, 'index.html')
    
    Midhun Suresh's avatar
    Midhun Suresh committed
          }
            },
    
            outDir: "./target"
    
    Midhun Suresh's avatar
    Midhun Suresh committed
      },
    
    Midhun Suresh's avatar
    Midhun Suresh committed
    });