Skip to content

🚚 Convert prebuild scripts to cjs with types #569

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

Merged
merged 1 commit into from
Apr 3, 2020

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Apr 3, 2020

Why is this PR for?

ts-node does not seem to properly handle cjs / mjs executions for the moment.
As prebuild step is pretty simple and one day supposed to disappear (not be needed anymore), we migrated it to commonjs with types which is safe enough for such script.

Extracted from #517

In a nutshell

❌ New feature
❌ Fix an issue
❌ Documentation improvement
✔️ Other: cleaning before next major

(✔️: yes, ❌: no)

Potential impacts

None.

ts-node does not seem to properly handle cjs / mjs executions for the moment.
@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 3, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 802c1ea:

Sandbox Source
gracious-glitter-ji9gu Configuration
sharp-jepsen-cvfi1 Configuration

@dubzzz dubzzz merged commit a82eef5 into master Apr 3, 2020
@dubzzz dubzzz deleted the clean/prebuild-from-ts-to-cjs branch April 3, 2020 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant