Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

switch from babel-sublime JS syntax to sublime-JS-custom #28

Open
slimsag opened this issue Apr 30, 2020 · 1 comment
Open

switch from babel-sublime JS syntax to sublime-JS-custom #28

slimsag opened this issue Apr 30, 2020 · 1 comment
Assignees

Comments

@slimsag
Copy link
Member

slimsag commented Apr 30, 2020

Today we use babel-sublime for jsx support (see #3) but babel-sublime is not well-maintained anymore, and upon updating sublimehq/Packages it appears it is much more incompatible with the base Packages now and e.g. breaks JS embedded in PHP/HTML.

sublimehq/Packages#860 makes note of a new project, https://github.com/Thom1729/Sublime-JS-Custom, which appears to add JSX on top of the base JavaScript syntax and may be better in the near term.

@slimsag slimsag self-assigned this Apr 30, 2020
@slimsag
Copy link
Member Author

slimsag commented Apr 30, 2020

Appears to work quite well:

image

image

Only annoying part is it's not pre-generated for us to include, but that's easy to fix: https://github.com/slimsag/Sublime-JS-Custom-Generated

slimsag added a commit to slimsag/Packages that referenced this issue Apr 30, 2020
slimsag added a commit to slimsag/Packages that referenced this issue Apr 30, 2020
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

1 participant