Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace broken Svelte 2 HMR with the one from rixo #156

Merged
merged 89 commits into from
Jan 16, 2021
Merged
Changes from 1 commit
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
45f83ef
remove hard dep on svelte
rixo Jul 28, 2019
23fa354
style: remove trailing space
rixo Jul 28, 2019
eda88c6
extract makeHot from index.js
rixo Jul 28, 2019
5b568c8
add support for HMR with svelte 3
rixo Jul 29, 2019
dcf722e
Merge remote-tracking branch 'upstream/master' into hmr
rixo Jul 29, 2019
9dd5eec
add support for HMR with svelte-native
rixo Jul 29, 2019
66b3061
introduce cmp.$$.replace instead of capture_state & inject_state
rixo Jul 29, 2019
87b4192
better name for $$.replace
rixo Jul 29, 2019
76ec3b8
fix restore props
rixo Jul 29, 2019
c4d9f09
style: autofix
rixo Jul 29, 2019
21e0276
update native support
halfnelson Jul 30, 2019
733852f
Merge pull request #3 from halfnelson/hmr-native-fix
rixo Jul 30, 2019
b2c1d29
remove global polution, now that it isn't needed anymore
rixo Jul 30, 2019
81cfdd2
style: remove trailing space
rixo Aug 1, 2019
189a246
refactor: extract svelte resolution to its own module
rixo Aug 1, 2019
74636fb
resolve svelte from application entrypoint - fixes #109
rixo Aug 1, 2019
0089526
add support for overriding svelte location by env variable
rixo Aug 1, 2019
e106329
Merge branch 'fix-link'
rixo Aug 6, 2019
7787618
refactor: move makeHot to resolveSvelte (because it depends on svelte…
rixo Aug 6, 2019
46db2fd
Merge branch 'hmr' into hmr-next
rixo Aug 6, 2019
3122272
filter removed props using compilation infos
rixo Aug 6, 2019
5fbd73b
fix hmr support for context
rixo Aug 22, 2019
75bc4a3
better debug name for file with multiple extensions
rixo Aug 22, 2019
638aa78
Merge branch 'hmr' into hmr-next
rixo Aug 22, 2019
67e98a8
fix target / anchor in onMount when rendered to different ones (native)
rixo Sep 19, 2019
9026759
fix support for native, & TNS 6
rixo Sep 19, 2019
e69f405
backport fixes from rollup plugin
rixo Sep 28, 2019
d6e4a1a
mock $capture_state to support preserving local state
rixo Sep 28, 2019
91cfef7
respect noPreserveState option
rixo Sep 28, 2019
0e5b209
implement full reload on failure
rixo Sep 28, 2019
4c322c2
simpler error recuperation (not broken also)
rixo Sep 28, 2019
8d5701a
exclude store subscriptions from preserved local state
rixo Sep 28, 2019
1ae9f83
use svelte-hmr
rixo Sep 29, 2019
3f54b18
add missing dep
rixo Sep 30, 2019
fadd9b4
upgrade to last svelte-hmr, with error management
rixo Sep 30, 2019
4e6f38a
use last svelte-hmr
rixo Oct 1, 2019
765d64d
fix svelte-hmr incorrectly registered as a dev dep
rixo Oct 2, 2019
2204a8f
upgrade to last version of svelte-hmr
rixo Oct 25, 2019
dfbdb6f
cleaner hot-api adapter (also, fix svhs tests)
rixo Oct 25, 2019
251588e
run accept handlers serially to prevent race conditions
rixo Nov 5, 2019
3bc4671
add info message when svelte loc is overriden by env
rixo Nov 5, 2019
3278148
fix async accept handlers race condition
rixo Nov 5, 2019
2be1bd7
add webpack specific HMR done message
rixo Nov 7, 2019
4a20c99
adapt for next version of svelte-hmr
rixo Nov 7, 2019
ed4e5ed
bump svelte-hmr
rixo Nov 15, 2019
e715674
make README hot
rixo Nov 15, 2019
66fe7ac
fix tests
rixo Nov 15, 2019
7929ed5
v0.0.1-0
rixo Nov 15, 2019
73b11bb
v0.0.1-1
rixo Nov 15, 2019
40068b8
fix links
rixo Nov 22, 2019
1059907
v0.1.0
rixo Nov 22, 2019
962a0be
Update README.md
rixo Nov 27, 2019
ada239e
better warning
rixo Nov 27, 2019
bdb5c58
bump svelte-hmr for svelte 3.16+ support
rixo Dec 28, 2019
6caf00d
Merge branch 'master' of github.com:rixo/svelte-loader-hot
rixo Dec 28, 2019
7783129
more affirmative
rixo Dec 28, 2019
e2d82d9
v0.1.1-0
rixo Dec 28, 2019
8b31c10
v0.1.1
rixo Dec 28, 2019
b2d291c
bump svelte-hmr
rixo Jan 26, 2020
472668f
v0.1.2
rixo Jan 26, 2020
0c1ccaa
upgrade svelte-hmr (preservation of local state, reactive blocks, acc…
rixo Feb 27, 2020
60b7ad9
v0.2.0
rixo Feb 27, 2020
ca2e6bd
update README
rixo Feb 27, 2020
ecaa242
v0.2.1
rixo Feb 27, 2020
7367022
bump svelte-hmr (restore auto accept accessors & named exports -- fix…
rixo Feb 28, 2020
f148343
v0.3.0
rixo Feb 28, 2020
0d7fb49
Bump acorn from 6.3.0 to 6.4.1
dependabot[bot] Mar 15, 2020
e2be8af
Merge pull request #2 from rixo/dependabot/npm_and_yarn/acorn-6.4.1
rixo Mar 15, 2020
5d444ba
bump svelte-hmr to next
rixo Apr 4, 2020
25e3244
v0.3.1-0
rixo Apr 4, 2020
df80f24
Bump lodash from 4.17.15 to 4.17.19
dependabot[bot] Jul 18, 2020
4071bfc
Merge pull request #5 from rixo/dependabot/npm_and_yarn/lodash-4.17.19
rixo Jul 21, 2020
1351638
upgrade to last svelte-hmr (fixes support for svelte >= 3.24.1)
rixo Aug 24, 2020
42550eb
v0.3.1-1
rixo Aug 24, 2020
cd29428
v0.3.1
rixo Aug 24, 2020
e01f36a
Fix minor typo
rendall Aug 27, 2020
f88b4c6
Merge pull request #9 from rendall/patch-1
rixo Aug 27, 2020
93feeb4
document that dev must be true for HMR
rixo Oct 5, 2020
8b7d9bc
Merge branch 'master' of svelte-loader-hot into merge-rixo-hmr
non25 Jan 15, 2021
b5afe79
Drop Svelte 2 from HMR
non25 Jan 15, 2021
7e65739
Fix HMR test
non25 Jan 15, 2021
db9ff99
Move posixify back, remove unnecessary svelte-resolve
non25 Jan 15, 2021
780c961
Change backticks to single quotes
non25 Jan 15, 2021
931dcc9
Use matching imports in index.js
non25 Jan 16, 2021
1ff2a35
Merge README.md from rixo/svelte-loader#svelte-hmr
non25 Jan 16, 2021
ca550ea
Small changes that regards enabling emitCss and hotReload
non25 Jan 16, 2021
7925e76
Options: disable hotReload by default, remove shared
non25 Jan 16, 2021
0f1c49b
Revert hotReload
non25 Jan 16, 2021
bfb3b47
Options: remove externalDependencies
non25 Jan 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix minor typo
Cut and pasting that code gives an error. This is a minor fix, adding a comma at the end of line 64
rendall authored Aug 27, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit e01f36a21a7ef63c060331ae76a2bf95257ce51f
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -61,7 +61,7 @@ module.exports = {
noReload: false,

// Try to recover after runtime errors in component init
optimistic: false
optimistic: false,

// --- Advanced ---