Skip to content

j-xzy/vite-plugin-ssi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vite-plugin-ssi npm

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

About

Server Side Includes for vite

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published