You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h1>Hello {{name}}</h1>
{{#if x > 10}}
<p>{{x}} is greater than 10</p>
{{elseif 5 > x}}
<p>{{x}} is less than 5</p>
{{else}}
<p>{{x}} is between 5 and 10</p>
{{/if}}
<script>exportdefault{data(){return{count: 0};}};</script>
I haven't dealt with sourcemaps much in the past, but shouldn't some of those fields contain file information, and shouldn't mappings contain some data between the ; and , ?
The text was updated successfully, but these errors were encountered:
Good point! Sourcemaps were working well at one point but I must have broken them because I didn't add any tests. [slaps self on wrist] I think I know where it broke...
Somewhat related: would you be willing to pass includeContent: true to generateMap here in generate/index.js? And/or add an option to pass to compile to enable including content?
HelloWorld.html:
svelte compile -m --format iife HelloWorld.html -o out.js
out.js.map:
I haven't dealt with sourcemaps much in the past, but shouldn't some of those fields contain file information, and shouldn't mappings contain some data between the ; and , ?
The text was updated successfully, but these errors were encountered: