0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 09:21:21 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
Rich Harris
6bba70a2a5
Docs (#9449)
* rename file

* add snippet docs

* add note on deprecation

* they're not attributes

* event docs

* prettier

* remove unnecessary div

* Apply suggestions from code review

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

* make example less confusing

* note breaking props.children change

---------

Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-11-14 18:09:32 -05:00
Simon Holthausen
fe8a9ce31d breaking: init Svelte 5
Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
Co-authored-by: Dominic Gannaway <dg@domgan.com>
2023-11-10 15:48:23 +01:00
Simon H
ef1b98f9d9
fix: account for sourcemap in meta info (#8778)
We need to use a different method for getting the meta info because `locate` is used to help construct the source map that references the preprocessed Svelte file. If we would now add source maps to that `locate` function it would go the the original source directly which means skipping potentially intermediate source maps which we would need in other situations. Sadly we can't map the character offset because for that we would need to the original source contents which we don't have in this context.

fixes #8360
closes #8362
2023-06-22 11:59:28 +02:00
Yuichiro Yamashita
b6a400a549
chore: add prettier (#8543) 2023-05-08 23:32:52 +02:00
Christian Kaisermann
12a9ff2ac1
chore: fix .eslintignore and remove .prettierrc (#4378) 2020-02-07 19:25:35 -05:00
Conduitry
d125f771e1 upgrade prettier; use .prettierrc 2017-09-23 14:17:33 -04:00