Skip to content
New issue

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

Document workaround for Svelte errors #141

Closed
wants to merge 1 commit into from

Conversation

syvb
Copy link
Contributor

@syvb syvb commented Oct 28, 2020

In Webpack 5+, this is required to load Svelte correctly, due to what appears to be code generation issues with TypeScript, see microsoft/TypeScript#16577.

This works around that by using telling end users to use a newly added feature in Webpack 5+, that uses Webpack 4 behavior for resolving module names.

(Webpack 5 is currently already supported when emitCss is false)

In Webpack 5+, this is required to load Svelte correctly, due to what appears to be code generation issues with TypeScript:

microsoft/TypeScript#16577

This works around that by using telling end users to use a newly added feature in Webpack 5+, that uses Webpack 4 behavior for resolving module names:

https://webpack.js.org/configuration/module/#resolvefullyspecified
@syvb
Copy link
Contributor Author

syvb commented Jan 11, 2021

Superseded by #146.

@syvb syvb closed this Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant