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

build: convert ts to esm #9887

Merged
merged 3 commits into from
May 7, 2021
Merged

build: convert ts to esm #9887

merged 3 commits into from
May 7, 2021

Conversation

viceice
Copy link
Member

@viceice viceice commented May 6, 2021

Changes:

Convert ts to modern esm, so no compile is needed. --experimental-modules is no longer required since node v12.17, so i set it as minimal

Context:

https://nodejs.org/dist./v12.16.0/docs/api/esm.html#esm_ecmascript_modules
https://nodejs.org/dist./v12.17.0/docs/api/esm.html#esm_ecmascript_modules

ref #9883

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please tick one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added unit tests, or
  • No new tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

@viceice viceice requested a review from rarkins May 6, 2021 10:20
@viceice viceice marked this pull request as ready for review May 6, 2021 10:21
@viceice viceice enabled auto-merge (squash) May 7, 2021 15:41
@viceice viceice merged commit 825a946 into main May 7, 2021
@viceice viceice deleted the build/tools-ts2esm branch May 7, 2021 15:46
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 25.16.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 7, 2021
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.

3 participants