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

fix: convert .js imports to .cjs #698

Merged
merged 5 commits into from
Dec 3, 2023
Merged

Conversation

killbasa
Copy link
Contributor

@killbasa killbasa commented Dec 3, 2023

The files output in dist/cjs we're still trying to import the .js extension despite tsup only building .cjs files. This PR adds an esbuild plugin to the tsup config to convert the import extentions.

killbasa and others added 3 commits December 2, 2023 21:54

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@favna
Copy link
Member

favna commented Dec 3, 2023

@sapphiredev pack

@sapphiredev
Copy link

sapphiredev bot commented Dec 3, 2023

Heya @favna, I've started to run the deployment workflow on this PR at b00ddcb. You can monitor the build here!

@sapphiredev
Copy link

sapphiredev bot commented Dec 3, 2023

Hey @favna, I've released this to NPM. You can install it for testing like so:

npm install @sapphire/framework@pr-698

@favna favna self-requested a review as a code owner December 3, 2023 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants