Rich Harris
|
48202597de
|
chore: allow preview site to work offline in local dev (#11091)
|
12 months ago |
Rich Harris
|
4f3fae7c6d
|
chore: compiler subpackage (#10988)
* move compiler.cjs to compiler/index.js
* changeset
* prettier
* ugh
|
1 year ago |
Dominic Gannaway
|
26c9068eab
|
fix: untrack console.log calls on REPL (#10706)
|
1 year ago |
Rich Harris
|
ce8495c66d
|
chore: fix preview site (#10519)
Co-authored-by: Rich Harris <rich.harris@vercel.com>
|
1 year ago |
Ben McCann
|
aecd47e8df
|
chore: upgrade prettier to 3.1 (#10134)
|
1 year ago |
Rich Harris
|
bde42d5676
|
`$inspect` rune (#9705)
* feat: add $log rune
* fix issues
* fix issues
* tune
* avoid static state reference validation
* work around unfortunate browser behavior
* call it ExpectedError
* cleanup
* Fix docs
* tweaks
* tweaks
* lint
* repl, dev: true
* repl dev mode
* Update sites/svelte-5-preview/src/lib/Repl.svelte
* squelch static-state-reference warning
* simplify
* remove redundant code
* Update packages/svelte/src/main/ambient.d.ts
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
* Update packages/svelte/src/main/ambient.d.ts
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
* Update packages/svelte/src/main/ambient.d.ts
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
* only pause/trace on change
* Update packages/svelte/src/main/ambient.d.ts
* Update .changeset/chatty-hotels-grin.md
* Update sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
* $log.break and $log.trace no-op during SSR
* Update sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
* update test
* improve break experience
* fix ts
* remove unnecessary if (DEV) checks - log runes are removed in prod
* ensure hoisting doesnt mess up source maps
* check visited for cyclical values
* rename $log to $inspect, remove children
* custom inspect function
* implement custom inspect functions
* changeset
* update docs
* only fire on change
* lint
* make inspect take a single argument
* ugh eslint
* document console.trace trick
* demos
* fix site
---------
Co-authored-by: Dominic Gannaway <dg@domgan.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: Dominic Gannaway <trueadm@users.noreply.github.com>
|
1 year ago |
gtmnayan
|
2ae953934d
|
enable dev mode for preview repl (#9393)
* enable dev mode for preview repl
* format
* also add dev mode toggle for compiler options
* whoops
|
1 year ago |
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>
|
1 year ago |