Closed thkruz closed 3 years ago
Thanks for adding this clarification! I think some of the confusion is from folks who are no so familiar with npm. There is actually a missing step as well: running npm run build
, which will output the /dist
directory.
I checked out package.json
and just saw a build that runs with prepublishOnly
. An alternate solution: if this is changed to prepare
, it will also run on npm install
: https://docs.npmjs.com/cli/v6/using-npm/scripts, so folks wouldn't need to manually run npm run build
.
EDIT: My bad, the readme has a Building
section that explains how to build!
@thkruz Thanks a lot, mate!
@davidcalhoun Nice catch! We should consider to change prepublishOnly
to prepare
for those who are eager for old school approach without npm.
Thanks for adding this clarification! I think some of the confusion is from folks who are no so familiar with npm.
@davidcalhoun 100% was my issue. Spent the last few days learning/implementing it after @ezze's explanation and now it all makes perfect sense.
As promised, took a stab at doing a pull request properly.
Just included a short summary of the discussion on ES5 vs ES6+ and why satellite.min.js isn't shown on the github page.