- Added default value to CssWriter.write map option (#135)
- Do not warn about missing unused css selectors if both css and emitCss are false (#127)
- Fix types to allow
css: false
(#125)
- Breaking changes:
- Rollup 1.19.2+ is now required
- The path passed to
css.write()
is now relative to the destination directory.
- Other changes:
- Actually publish typings (#110)
- Handle files with
.svelte
in the middle of their filename (#107)
- Revert accidental change to Rollup peer dependency
- Use Svelte 3's built-in logic for automatically determining the component name from its file path (#74)
- Support array of preprocessors in Svelte 3
- Handle
onwarn
correctly in new Svelte 3 beta
- Support latest Svelte 3 beta
- Use
this.addWatchFile
if present (#46)
2018-12-16
- Replace deprecated
ongenerate
hook, use Rollup's internal warning mechanism; requires [email protected]+ (#45)
- Pass
dependencies
through from preprocessors (#40)
- Support Svelte 3 alpha
- Internal reorganisation
- Remove deprecated
onerror
handler
- Append inline sourcemaps to virtual CSS files generated with
emitCss: true
(#36)
- Fix
emitCss
with style-less components (#34)
- Add
emitCss
option (#32)
- Support Svelte 1.60 and above (#29)
- Move
svelte
topeerDependencies
(#25)
- Pass ID as
filename
topreprocess
(#24)
- Allow
shared
option to override default (#16) - Use
this.warn
andthis.error
, so Rollup can handle failures
svelte
should be a dependency, not a devDependency...
- CSS sourcemaps (#14)
- Ignore virtual modules (#13)
- Only include
code
andmap
in object passed to Rollup
- Prevent import of built-in modules from blowing up the resolver
- Add support for
pkg.svelte
andpkg['svelte.root']
- Handle components without
<style>
tags when concatenating CSS
- Allow
options.css
to be a function that is called with extracted CSS when bundle is generated
- Pass all options through to Svelte (e.g.
dev
)
- Capitalize component names correctly
- Update Svelte
- Use shared helpers
- Sanitize constructor names
- Update Svelte
- Add support for
generate: 'ssr'
- Enforce
es
format
- Update Svelte
- Include code frame in error message
- Update Svelte
- Support
css
andfilename
options
- Update Svelte
- Update Svelte
- Update Svelte
- Set
options.name
to basename of file
- Update Svelte
- Update Svelte
- Install missing
rollup-pluginutils
dependency
- First release