Skip to content

Commit de91588

Browse files
authored
Add advisory about content being out of date (sveltejs#97)
* Add advisory about content being out of date * Remove terser from ignored files This was throwing "Error: expected to find node_modules/vite/dist/node/terser.js" at build time
1 parent 8e9eb10 commit de91588

File tree

3 files changed

+4
-1
lines changed
  • content/tutorial
    • 01-svelte/01-introduction/01-welcome-to-svelte
    • 02-sveltekit/01-concepts/01-introducing-sveltekit
  • scripts/create-common-bundle

3 files changed

+4
-1
lines changed

content/tutorial/01-svelte/01-introduction/01-welcome-to-svelte/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Welcome to Svelte
33
---
44

5+
> WARNING: this content is a work in progress and may be out of date. If you are learning Svelte, please refer to the [tutorial on svelte.dev](https://svelte.dev/tutorial) for now. If you are learning SvelteKit, refer to the [SvelteKit docs](https://kit.svelte.dev/docs).
6+
57
Welcome to the Svelte tutorial! This will teach you everything you need to know to easily build fast, small web applications.
68

79
You can also consult the [API docs](https://svelte.dev/docs) and the [examples](https://svelte.dev/examples), or — if you're impatient to start hacking on your machine locally — create a project with `npm init svelte`.

content/tutorial/02-sveltekit/01-concepts/01-introducing-sveltekit/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: What is SvelteKit?
33
---
44

5+
> WARNING: this content is a work in progress and is not up to date with breaking changes in the latest version of SvelteKit. For the latest information, refer to the [SvelteKit docs](https://kit.svelte.dev/docs).
6+
57
So far, we've been working on individual components, or groups of components, in isolation. But to build a complete app, you need more than just components.
68

79
That's where SvelteKit comes in. Whereas Svelte is a _component framework_, SvelteKit is an _app framework_ (or 'metaframework', depending on who you ask) that solves the tricky problems of building something production-ready:

scripts/create-common-bundle/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ const ignored_extensions = ['.d.ts', '.map', '.md'];
2020
const ignored_directories = ['.svelte-kit', 'node_modules/.bin', 'node_modules/rollup/dist/shared'];
2121

2222
const ignored_files = new Set([
23-
'node_modules/vite/dist/node/terser.js',
2423
'node_modules/rollup/dist/es/rollup.browser.js',
2524
'node_modules/rollup/dist/rollup.browser.js',
2625
'node_modules/svelte/compiler.js'

0 commit comments

Comments
 (0)