This pr fixes the ssr issue raised in #2 by updating two values in package.json
{
"svelte": "src/index.js", <- This has to point to the source code, otherwise sapper cannot compile.
"files": ["dist", "src"] <- Also include src in package
}
Reviewer, please note:
See comments in related issue
I've also updated rollup plugins and tested dist using the included example app, which imports from dist.
Sapper is an app framework built on top of Svelte. It's used to build ssr svelte apps.
BTW, sapper is going to be replaced by SvelteKit, which is a rewrite of Sapper. See https://svelte.dev/blog/sveltekit-beta
Brief Summary of Changes
This pr fixes the ssr issue raised in #2 by updating two values in package.json { "svelte": "src/index.js", <- This has to point to the source code, otherwise sapper cannot compile. "files": ["dist", "src"] <- Also include src in package }
Reviewer, please note:
Checklist: