We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to render a component to string via SSR, but when trying to use the render() method I'm always getting this error:
render()
render is not a function
Here's a simple repro: https://github.com/PierBover/svelte-ssr-webpack-test
Just do
npm i npm run start
I'm not sure if the issue is actually in svelte-loader but I figured I'd first report this here in case I've messed up something with Webpack.
svelte-loader
The text was updated successfully, but these errors were encountered:
It's definitely an issue with svelte-loader and it was introduced with 3.0.0.
3.0.0
When using "svelte-loader": "^2.13.6" everything works as expected, even when using the latest Svelte version.
"svelte-loader": "^2.13.6"
Sorry, something went wrong.
Ok... the problem was that there was a breaking change in 3.0.0 and the compiler options now must be specified into an new compilerOptions object.
compilerOptions
No branches or pull requests
I'm trying to render a component to string via SSR, but when trying to use the
render()
method I'm always getting this error:Here's a simple repro: https://github.com/PierBover/svelte-ssr-webpack-test
Just do
I'm not sure if the issue is actually in
svelte-loader
but I figured I'd first report this here in case I've messed up something with Webpack.The text was updated successfully, but these errors were encountered: