Skip to content
This repository was 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
emidoots opened this issue Apr 30, 2020 · 1 comment
Open

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

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

Comments

@emidoots
Copy link
Member

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.

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

emidoots 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

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