sapper
sapper copied to clipboard
The next small thing in web development, powered by Svelte
It is useful to create npm packages that reference types defined in `@sapper/app`, `@sapper/server`, `@sapper/common`, @ `@sapper/service-worker`. However, these modules are defined within a sapper project in the `src/node_modules` directory,...
On v0.28.10 with `"strict": true` in `tsconfig.json` & `sapper/common` in `types`, results with the error: ``` node_modules/.pnpm/[email protected][email protected]/node_modules/sapper/runtime/index.d.ts:20:36 - error TS2307: Cannot find module '@sapper/internal/manifest-server' or its corresponding type declarations. 20...
In my nav.svelte component I have: ``` {#if $session.token} ${JSON.stringify($session.token)} - ${JSON.stringify($session.token.username)} {/if} ``` In login.svelte: ``` const { session } = stores(); let username, password; async function onLogin(username, password){...
**Describe the bug** page.path in the preload function returns the page and also 'service-worker-index.html' Im not sure if this is expect behaviour but its a nuisance when trying to use...
At present, `` is the same for all pages, which means you can't use relative URLs. This was introduced for good reasons, but it turns out to cause problems. I'm...
**Describe the bug** `` hints that are used in exported Sapper apps for scripts with the `crossorigin` attribute set to `use-credentials` stop the script being used in Chrome. Making the...
In case of blog or news website we need to **update** collections of dynamic routes, but not to render each item on update as `sapper export` command does . Is...
I'm seeing the following error intermittently on prod build. When it occurs, the app stops responding. This is on Sapper 0.29.1. ``` client.c2a1e180.js:1 Uncaught (in promise) TypeError: Cannot read property...
Currently with `sapper build` the destination is cleared out before building the server and client folders, that makes my life too hard, because I want to create static server files...
**Describe the bug** Running the default Sapper example app ass explained [here](https://sapper.svelte.dev/docs) in "production mode" produces seemingly strange behavior. When I open the network tab in chrome dev tools with...