Skip to content

maxiruani/rollup-plugin-express-svelte

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rollup-plugin-express-svelte

A rollup plugin to bundle views with complete or partial hydration from express-svelte package.

Work in progress - Partial hydration is not working yet.

Install

Install via npm.

npm install rollup-plugin-express-svelte --save

Options

hydratable

Type: String
Default: "complete"

Specifies the hydration approach to be made. complete will hydrate the whole view while partial will only hydrate components wrapped by <Hydrate /> component.

For complete approach, by default the target value is document.body and the anchor is null. If you want to customize these values, add a class view-target and view-anchor to desired elements within the root template.

About

A rollup plugin to bundle views with complete or partial hydration from express-svelte package.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published