├── .DS_Store ├── .gitignore ├── LICENSE ├── README.md ├── package-lock.json ├── package.json ├── public ├── favicon.ico ├── global.css ├── logo.svg └── robots.txt ├── routes ├── .DS_Store ├── about │ └── index.svelte ├── blog │ ├── [slug].svelte │ └── index.svelte └── index.svelte ├── sapper ├── README.md └── runtime.js ├── shared └── components │ └── Nav.svelte ├── snowpack ├── client.config.json └── server.config.json └── tasks ├── SnowpackLoader.js └── dev.js /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/snowpack-svelte-ssr/26aae8a3efa3950f9bb38892eb768efe5026edda/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .build 3 | /build 4 | /web_modules 5 | /node_modules 6 | /scratch 7 | /sapper/routes.js -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Fred K. Schott 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Deprecated 2 | 3 | This project has been entirely replaced by Svelte Kit: 4 | * https://github.com/sveltejs/kit 5 | * https://www.npmjs.com/package/@sveltejs/kit 6 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "start": "node tasks/dev", 4 | "build": "snowpack build --config snowpack/server.config.json && snowpack build --config snowpack/client.config.json", 5 | "test": "jest" 6 | }, 7 | "dependencies": { 8 | "svelte": "^3.24.0" 9 | }, 10 | "devDependencies": { 11 | "@snowpack/app-scripts-svelte": "^1.8.4", 12 | "@testing-library/jest-dom": "^5.5.0", 13 | "@testing-library/svelte": "^3.0.0", 14 | "chokidar": "^3.4.2", 15 | "http-proxy": "^1.18.1", 16 | "httpie": "^1.1.2", 17 | "jest": "^26.2.2", 18 | "magic-string": "^0.25.7", 19 | "meriyah": "^2.1.1", 20 | "snowpack": "^2.11.0", 21 | "svelte-check": "^1.0.0", 22 | "tiny-glob": "^0.2.6" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/snowpack-svelte-ssr/26aae8a3efa3950f9bb38892eb768efe5026edda/public/favicon.ico -------------------------------------------------------------------------------- /public/global.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: sans-serif 3 | } -------------------------------------------------------------------------------- /public/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /routes/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/snowpack-svelte-ssr/26aae8a3efa3950f9bb38892eb768efe5026edda/routes/.DS_Store -------------------------------------------------------------------------------- /routes/about/index.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 |