import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";

export default defineConfig({
	base: "/wp-content/plugins/vue-plugin-1/vueapp/dist/",
  plugins: [vue()],
  build: {
    watch: {},
    rollupOptions: {
      output: {
        entryFileNames: "assets/js/[name].js",
        chunkFileNames: "assets/js/[name].js",
        assetFileNames: "assets/css/[name].[ext]",
      },
    },
  },
});
