Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Optional chaining #134

Closed
frederikhors opened this issue Jun 9, 2020 · 3 comments
Closed

Optional chaining #134

frederikhors opened this issue Jun 9, 2020 · 3 comments

Comments

@frederikhors
Copy link
Contributor

How to use optional chaining with this amazing template?

@Conduitry
Copy link
Member

sveltejs/svelte#1972

@mvolkmann
Copy link

Why was this issue closed? As far as I can tell, with the latest version of Svelte we can use optional chaining and nullish coalescing when npm run dev is used, but it fails with npm run build because Terser doesn't support it yet. It seems to me that until that is fixed, sveltejs/template can't claim to support those JS features.

@benmccann
Copy link
Member

Here's the terser issue to track for reference: terser/terser#567

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants