-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Build playground options automatically #3352
Copy link
Copy link
Closed
Labels
area:playgroundIssues about the playground (https://prettier.io/playground)Issues about the playground (https://prettier.io/playground)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status:needs discussionIssues needing discussion and a decision to be made before action can be takenIssues needing discussion and a decision to be made before action can be takentype:infraIssues about CI, publishing to npm, or similarIssues about CI, publishing to npm, or similar
Metadata
Metadata
Assignees
Labels
area:playgroundIssues about the playground (https://prettier.io/playground)Issues about the playground (https://prettier.io/playground)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status:needs discussionIssues needing discussion and a decision to be made before action can be takenIssues needing discussion and a decision to be made before action can be takentype:infraIssues about CI, publishing to npm, or similarIssues about CI, publishing to npm, or similar
Recently after every a new option or a new language we have to manually add it to playground. @suchipi suggested building the HTML automatically and that would be nice. I've created this issue just so we don't forget it.
To keep in mind: we are now using the dist code to bundle the playground so we don't have access to the
cli-constant.jsat this point. We could get it fromsrc/but that would mean exposing unsupported options. Another options is having a similargetSupportInfobut for options.