Open yArna opened 1 year ago
Something like this almost worked for me for react:
import vue from "@vitejs/plugin-vue2"
import Prebundle from "vite-plugin-prebundle"
let config = {
root: "./web",
server: {
port: 8899,
},
plugins: [
vue(),
Prebundle({ entries: [{filepath:"./app.js", bundler: 'vite', viteOptions:[vue()]}] }),
]
}
Doesn't seem to work with the vue plugin at the moment
vite.config.ts