svelte icon indicating copy to clipboard operation
svelte copied to clipboard

Space before @html breaks the build

Open mulder999 opened this issue 4 months ago • 2 comments

Describe the bug

Rune components do not support space between { and @html, whereas legacy do.

Reproduction

  1. Create a rune component that has { @html "ABCD"}
  2. Run npm run build

Build fails with:

error during build:
undefined

Logs

No response

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (32) x64 13th Gen Intel(R) Core(TM) i9-13900K
    Memory: 36.41 GB / 63.76 GB
  Binaries:
    Node: 22.10.0 - ~\AppData\Local\Volta\tools\image\node\22.10.0\node.EXE
    Yarn: 4.4.1-git.20240825.hash-b2f315f6 - ~\AppData\Local\Volta\tools\image\yarn\4.4.1-git.20240825.hash-b2f315f6\bin\yarn.CMD
    npm: 10.9.0 - M:\Git\yoursky.blue\ys-www\node_modules\.bin\npm.CMD
  Browsers:
    Chrome: 130.0.6723.70
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    svelte: ^5 => 5.1.2

Severity

annoyance

mulder999 avatar Oct 25 '24 15:10 mulder999