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
If you have a component .html source file that has CRLF line endings with an {{#await}} block when compiled with svelte-loader you will get an error like this:
ERROR in ./example.html
Module parse failed: Unexpected token (86:3)
You may need an appropriate loader to handle this file type.
|
// (2:{{then result}}ing</p>
| function create_pending_block(state, _, component) {
| var p;
|
@ ./index.js 1:0-37
Error doesn't occur when line endings are switched to LF.
If you have a component
.html
source file that hasCRLF
line endings with an{{#await}}
block when compiled withsvelte-loader
you will get an error like this:Error doesn't occur when line endings are switched to
LF
.I've made a repository with an example:
https://github.com/bryanwood/svelte-crlf-await-block
Can workaround this by using
LF
for line endings.svelte version: 1.49.3
svelte-loader version: 2.3.2
webpack version: 3.10.0
The text was updated successfully, but these errors were encountered: