26 lines
		
	
	
		
			546 B
		
	
	
	
		
			TypeScript
		
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			546 B
		
	
	
	
		
			TypeScript
		
	
	
	
import react from "@vitejs/plugin-react";
 | 
						|
import path from "path";
 | 
						|
import { defineConfig } from "vite";
 | 
						|
export default defineConfig({
 | 
						|
  plugins: [react()],
 | 
						|
  resolve: {
 | 
						|
    alias: {
 | 
						|
      "@": path.resolve(__dirname, "./src"),
 | 
						|
    },
 | 
						|
  },
 | 
						|
  build: {
 | 
						|
    outDir: "auto-listing-facebook-marketplace",
 | 
						|
    cssCodeSplit: true,
 | 
						|
    rollupOptions: {
 | 
						|
      input: {
 | 
						|
        content: "src/content.ts",
 | 
						|
        background: "src/background.ts",
 | 
						|
      },
 | 
						|
      output: {
 | 
						|
        entryFileNames: "[name].js",
 | 
						|
      },
 | 
						|
    },
 | 
						|
    emptyOutDir: false,
 | 
						|
  },
 | 
						|
});
 |