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
Describe the bug
The below code snippet results in two different results depending on if you use npm run dev or do a build with npm run build and then for example npm run start.
With the dev server everything is fine. When using the result of the build "Style: " is missing.
The comment is needed because of an issue with prettier in the svelte vs code extension by the way. It formats the "." on the next line, which results in an unwanted whitespace after the link.
Expected behavior
I would expect both builds to be consistent. Apart from that I guess I would the comment to not have an effect? But I'm not sure, if I'm using the comment incorrectly.
Information about your Svelte project:
Your browser and the version: Chrome 83.0.4103.97
Your operating system: OS X 10.15.5
Svelte version: 3.23.2
Using Rollup
Severity
This issue resulted in a deployment with text missing because everything seemed to work fine with the dev server. I guess I could (should?) double check everything in the build, but really the behaviour between the two needs to be consistent.
Thank you.
The text was updated successfully, but these errors were encountered:
Describe the bug
The below code snippet results in two different results depending on if you use
npm run dev
or do a build withnpm run build
and then for examplenpm run start
.With the dev server everything is fine. When using the result of the build "Style: " is missing.
The code snippet:
The comment is needed because of an issue with prettier in the svelte vs code extension by the way. It formats the "." on the next line, which results in an unwanted whitespace after the link.
Logs
No warnings or errors during build.
To Reproduce
It works in the REPL just like when using the dev server: https://svelte.dev/repl/d1a66a13c89945ea8e0c7376821b872b?version=3.23.2
Expected behavior
I would expect both builds to be consistent. Apart from that I guess I would the comment to not have an effect? But I'm not sure, if I'm using the comment incorrectly.
Information about your Svelte project:
Your browser and the version: Chrome 83.0.4103.97
Your operating system: OS X 10.15.5
Svelte version: 3.23.2
Using Rollup
Severity
This issue resulted in a deployment with text missing because everything seemed to work fine with the dev server. I guess I could (should?) double check everything in the build, but really the behaviour between the two needs to be consistent.
Thank you.
The text was updated successfully, but these errors were encountered: