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
interesting solution to just require('sparkle-effect/sparkle-effect.js') :-)
you have two othe alternatives so you can just require('sparkle-effect')
either make src/node_modules/sparkle-effect/index.js
or create src/node_modules/sparkle-effect/package.json and add { "main": "./sparkle-effect.js" }
we usually do the second option, because having many files open named after their component is nicer than having many files in your editor tabs all called index.js :-)
This page should probably have a README.md that more or less copies and adapts the README from our current website.
Additionally, it has a preview page, but interestingly, the sparkles don't show on that page. Is that page up to date? You might sometimes need to add a commit update bundle.js by running npm run build so browserify creates the latest bundle file for you to commit :-)
todo
@output
📦 sparkle_effect_v0.0.1 from commentThe text was updated successfully, but these errors were encountered: