- Fixed sourcemap "sources" field.
- Fixed incorrect line numbers in errors.
- Fixed incorrect line numbers in warnings.
This was fixed in 0.1.6 but I was wrong there. Now it's fixed for real. - Use
verbatimModuleSyntax
when possible (esbuild ≥ 0.18).
- When
emitCss
is true, turn off css injecting and sourcemap by default. - Change the CSS sourcemap name (if enabled) to
App.svelte?style.css
.
- Fixed invalid character error because of svelte using the
btoa
in node side. - Fixed incorrect line numbers in warnings.
However I still don't know what is wrong here. The example in esbuild's website does havestart.line - 1
, but my recent test shows that it should bestart.line
.
- Make
svelte()
also the default export. - Completely removed source map text by appending an empty sourcemap.
Note that esbuild will still output the sourcemap file.
- Improved handling
src="./external-file.ts"
. - Fixed crash when setting
emitCss: true
with no<style>
tag.