holepunchto / pear

combined Peer-to-Peer (P2P) Runtime, Development & Deployment tool
https://docs.pears.com/
Apache License 2.0
116 stars 11 forks source link

Add support for custom preloads #292

Open educastellano opened 2 months ago

educastellano commented 2 months ago

Adds support for Pear apps to add scripts to preload under preloads in pacakge.json:

"pear": {
  "preloads": [
    "/preload.js"
  ]
}