Skip to content

Specify that svelte compiler options can be specified in loader options #76

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
AleksandrSl opened this issue Feb 17, 2019 · 2 comments · Fixed by #161
Closed

Specify that svelte compiler options can be specified in loader options #76

AleksandrSl opened this issue Feb 17, 2019 · 2 comments · Fixed by #161

Comments

@AleksandrSl
Copy link

It's not obvious that compiler options such as customElement and shared can be specified in loader options. Maybe it's worth mentioning in README

@UziTech
Copy link

UziTech commented Apr 30, 2019

Wow! I have been trying to export a customElement for longer than I care to admit. If I knew all I had to do is add customElement: true to the svelte-loader options it would have saved me lots of time.

@benmccann
Copy link
Member

The options were moved under compilerOptions in master. I agree it'd be good to add to the README. I'll review and merge a PR if anyone wants to send one

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 a pull request may close this issue.

3 participants