Skip to content
This repository was archived by the owner on Aug 24, 2018. It is now read-only.

Remove usage of Babel - #77

Merged
winstliu merged 2 commits into
masterfrom
wl-rm-babel
May 1, 2018
Merged

winstliu merged 2 commits into
masterfrom
wl-rm-babel

Conversation

@winstliu

@winstliu winstliu commented May 1, 2018

Copy link
Copy Markdown
Contributor

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
  • All new code requires tests to ensure against regressions

Description of the Change

Removes usage of Babel and JSX, instead preferring vanilla JavaScript where possible. This prevents unnecessary transpilation of source files and also cuts down on the file size a little bit.

Alternate Designs

None.

Benefits

In non-Etch-related files, all Babel offers is import syntax. Those can easily be converted to the old require syntax.
In Etch files, etch.dom is used instead of JSX.
These changes prevent unnecessary transpilation of files.

Possible Drawbacks

None.

Applicable Issues

None.

@winstliu
winstliu merged commit 38938e0 into master May 1, 2018
@winstliu
winstliu deleted the wl-rm-babel branch May 1, 2018 00:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant