Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

fix: update the files entry in package.json #828

Merged
merged 1 commit into from
Oct 28, 2022
Merged

Conversation

ericapisani
Copy link
Contributor

🎉 Thanks for submitting a pull request! 🎉

Summary

Fixes #827

This was an entry that I forgot to update when migrating from webpack to vite in #819 .

@ericapisani ericapisani added the type: bug code to address defects in shipped code label Oct 28, 2022
@ericapisani ericapisani self-assigned this Oct 28, 2022
@netlify
Copy link

netlify bot commented Oct 28, 2022

Deploy Preview for framework-info ready!

Name Link
🔨 Latest commit 62fdbdd
🔍 Latest deploy log https://app.netlify.com/sites/framework-info/deploys/635bd3380ef26b0008fdf2f7
😎 Deploy Preview https://deploy-preview-828--framework-info.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@@ -11,7 +11,7 @@
"files": [
"build/*.js",
"src/**/*.js",
"dist/index.cjs"
"dist/index.umd.cjs"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason we're shipping a umd file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was a UMD file pre-vite.

And we target this is because of the browser usage of this library (where we detect the framework during the 'import project' part of adding/creating a new site in the Netlify UI)

@kodiakhq kodiakhq bot merged commit 259f6c0 into main Oct 28, 2022
@kodiakhq kodiakhq bot deleted the update-files-path branch October 28, 2022 13:27
@ericapisani ericapisani mentioned this pull request Nov 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9.4.0 package entrypoint missing
3 participants