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] export CJS files for Netlify #3389

Closed
wants to merge 1 commit into from
Closed

[fix] export CJS files for Netlify #3389

wants to merge 1 commit into from

Conversation

benmccann
Copy link
Member

@benmccann benmccann commented Jan 18, 2022

Hopefully fixes #3189. I'm not really sure how to test this. And my app works on Netlify anyway somehow. It should get us closer at least though. The thing I'm unsure of is if the assets directory also needs to be bundled as CJS

Hopefully we won't need this forever, but it seems like Netlify is still a ways off from supporting CJS. Work is in progress in netlify/cli#3514, but there's more work that needs to be done after that

@benmccann benmccann added the bug Something isn't working label Jan 18, 2022
@changeset-bot
Copy link

changeset-bot bot commented Jan 18, 2022

🦋 Changeset detected

Latest commit: e428926

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented Jan 18, 2022

✔️ Deploy Preview for kit-demo canceled.

🔨 Explore the source changes: e428926

🔍 Inspect the deploy log: https://app.netlify.com/sites/kit-demo/deploys/61e63c72160c3f000702d6b2

@Rich-Harris
Copy link
Member

This shouldn't be necessary. I think they just have out of date versions

@benmccann benmccann closed this Jan 21, 2022
@benmccann benmccann deleted the netlify-cjs branch January 21, 2022 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(netlify): Package subpath './hooks' is not defined by "exports"
2 participants