Skip to content

How can I set Svelte compiler options #122

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

Closed
vmohir opened this issue Apr 11, 2020 · 1 comment
Closed

How can I set Svelte compiler options #122

vmohir opened this issue Apr 11, 2020 · 1 comment

Comments

@vmohir
Copy link

vmohir commented Apr 11, 2020

Hi,

There are some options in Svelte compiler API page which I can't find any documentation about them in svelte-loader.

How can I set Svelte compiler options like immutable, legacy, accessors? Should I use svelte.config.js file?

@willwillems
Copy link

You can just use them in the options field, see #76

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

No branches or pull requests

3 participants