- Readme overhaul
- Remove outdated examples
- Update to latest
svelte-hmr
package fixing Webpack 4 support - Fix sourcemap breakpoints (#183)
- Fix empty sourcesContent (#177)
- Breaking: compiler options must now be specified under
compilerOptions
(#159) - Breaking: removed support for deprecated
style
,script
, andmarkup
options, which are now located under thepreprocess
configuration (#158) - Breaking: dropped Svelte 2 support (#150)
- Breaking: dropped Node 8 support (#157)
- Add Webpack 5 support (#151)
- Webpack 5 requires an additional rule in
webpack.config.js
to load the Svelte runtime correctly
- Webpack 5 requires an additional rule in
- Replace broken Svelte 2 HMR with the implementation from
rixo/svelte-loader-hot
(#156) - Add Node 14 support and remove virtual modules implementation (fixes #125, #131)
Thanks to @non25, @Smittyvb, @rixo, and the numerous others who contributed to this major release!
- Check whether the filesystem implements
purge
before calling it (#81)
- Fix
onwarn
with Svelte 3 (#104)
- Fix webpack 3 bug (#89)
- Fix
compileOptions.filename
(#79)
- v3 fixes (#78)
- Handle
dependencies
returned frompreprocess
(#75)
- Support Svelte 3
- Resolve
svelte/shared.js
before injecting import declaration (#65)
- Support for older webpack versions (#63)
- Add
options.externalDependencies
(#66)
- Posixify CSS paths on Windows (#64)
- Fix peer dependency to squelch version mismatch warnings (#57)
- Fix CSS filenames (#45, #56)
- Use virtual filesystem to preserve relative paths in CSS (#45
- Fix HMR on Windows (#52)
- Deprecate
options.markup
,options.style
andoptions.script
in favour ofoptions.preprocess.*
(#41)
- Use resolved path for
hot-api.js
, to allowed linked components (#49)
- Prevent future post-1.60 deprecation warnings (#48)
- Wrap components with proxies when hot reloading (#44)
- Emit warnings to webpack (#35)
- Component-level hot reloading support (#40)
- Posixify paths to tmp CSS files (#34)
- Coerce
utimes
arguments to dates (#32)
- Add
preprocess
support (#31)
- Deterministic filenames for CSS output (#30)
- Fix git fail
- Add
emitCss
option (#28)
- Include code frame in error message (#26)
- Resolve shared helpers path (#19)
- Pass through all options, overriding
format
andshared
(#17) - Auto-generate best configuration for detected webpack version
- Update loader-utils dependency
- Pass through
options.generate
(#10)
- Add option to specify shared output (svelte#218)
-
Add option to control CSS output (sveltejs#6)
-
Add option to control output
format
andname
(sveltejs#4) -
Fix parse/validation error context display (sveltejs#5)
- Add
svelte
as peerDependency
- First release