- Add
configFile
option to readpreprocess
fromsvelte.config.js
. (#43 by @gengns)
- Update peer dependency to support SK >= 1.0.0.
- Feat: better error message when an unexpected error occurs when parsing. (#37 by @Refzlund)
- Add sveltekit as peer dependency (#35)
- Support reading transition, animation, and action names.
- Print parse error in detail.
- Add extra line for injected script tag.
- Update docs and example.
- Remove jsDoc comments.
- Fix reading root path for SK >= next.347
- Pass
filename
to preprocess function. (#20)
- Fix preprocess detection. It might not always be array. (#18)
- Impove docs. (#15)
- Rename to sveltekit-autoimport. (#14)
- Support alias for modules. 028f0e
module: { svelte: ['onMount as mount'] }
- Skip for declared variables.
- Ignore
.svelte-kit
and other directories.
- Inject script at newline.
- Add the missing generated source map.