You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you so much for your work on this library! It works really well!
I've run into a small issue. Till now, I was using this in a Hugo website, but just started converting that into a Astro website. I currently have a very simply component like:
@appnest/masonry-layout doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix
Seems like a straightforward change to convert this to a module (by adding the declaration in package.json). So, I've submitted a PR. Let me know if it makes sense!
Hi!
Thank you so much for your work on this library! It works really well!
I've run into a small issue. Till now, I was using this in a Hugo website, but just started converting that into a Astro website. I currently have a very simply component like:
However, the build gives a warning:
Seems like a straightforward change to convert this to a module (by adding the declaration in
package.json
). So, I've submitted a PR. Let me know if it makes sense!I didn't find any reference of
module
field inpackage.json
here: https://docs.npmjs.com/cli/v9/configuring-npm/package-json, so I have simply converted that to"type": "module"
instead.The text was updated successfully, but these errors were encountered: