junobuild / juno-js

JavaScript libraries for interfacing with Juno
MIT License
13 stars 1 forks source link

build: agent-js as peer dependency of core #77

Closed peterpeterparker closed 8 months ago

peterpeterparker commented 8 months ago

No other way, it's just impossible to ship a library that contains agent-js to next.js - i.e. agent-js has to be installed by next to be bundled with webpack otherwise the library and app fails in production at runtime.

Fortunately, npm i does automatically install peer dependencies. Yarn doesn't though.

Bump agent-js at the same time.