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

[feat] use preserveValueImports flag in create-svelte #3064

Merged
merged 2 commits into from
Feb 11, 2022

Commits on Dec 17, 2021

  1. [feat] use preserveValueImports flag in create-svelte

    TypeScript doesn't know about import usages in the template because it only sees the script of a Svelte file. Therefore preserve all value imports. Requires TS 4.5 or higher, therefore also bump the version of TS and Prettier (the latter in order to deal with the new TS syntax).
    Turning on preserveValueImports turns off the advanced but somewhat brittle import transpilation in svelte-preprocess which should give a small performance boost and more robustness.
    Simon Holthausen committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    d1de0b6 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2022

  1. more defensive TS version

    dummdidumm committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    51b362d View commit details
    Browse the repository at this point in the history