helia-examples
helia-examples copied to clipboard
fix: update nextjs example
A few fixes here:
- updates all deps to latest
- updates the README.md to recommend
npm run devinstead ofnpm startafter npm install - ~~updates next.config.js to use polyfill recommendation based on https://github.com/ipfs/helia/issues/553#issuecomment-2158940930~~
- This error cannot be reproduced with latest Helia
- removes
output: 'export'from being used by default becausenpm run builddoesn't build a proper dist folder for use bynext startunlessoutputis set to'standalone'orundefined - updates the test script to use next config output of
'export'so tests work properly