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

Support JSON5 Modules #7021

Closed
summercms opened this issue Sep 4, 2021 · 2 comments
Closed

Support JSON5 Modules #7021

summercms opened this issue Sep 4, 2021 · 2 comments

Comments

@summercms
Copy link

JSON Modules have been added, see here:

#4315
#4407

Would it be possible to also add JSON5 support, e.g.

import example from './config.json5';

The JSON5 Data Interchange Format (JSON5) is a superset of JSON that aims to alleviate some of the limitations of JSON by expanding its syntax to include some productions from ECMAScript 5.1.

Thanks.

Links: https://json5.org/

@Yay295
Copy link
Contributor

Yay295 commented Sep 5, 2021

tc39/proposal-json-modules#14

@annevk
Copy link
Member

annevk commented Feb 24, 2023

This would probably have to go through TC39 or at the very least incubated through WICG.

@annevk annevk closed this as completed Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants