vite-plugin-ssi
v0.0.1
Published
Server side include for vite
Downloads
10
Readme
vite-plugin-ssi
Server side include for vite
// vite.config.js
import ssi from 'vite-plugin-ssi'
export default {
plugins: [ssi({
remoteBasePath: 'http://xxx',
})]
}
Options
interface Options {
/**
* Apply the plugin only for serve or for build.
*/
apply?: 'serve' | 'build';
remoteBasePath: string;
}
License
MIT