Options
a vite plugin
import { defineConfig } from 'vite';
import reverseProxy from 'vite-plugin-reverse-proxy';
export default defineConfig({
plugins: [
reverseProxy({
targets: {
'/app.js':'src/main.jsx'
}
}),
]
});
Generated using TypeDoc
Makes the script to be served with the text/javascript MIME type instead of module MIME type.