rapyuta-robotics / zethus

Realtime robot data visualization in the browser
https://rapyuta-robotics.github.io/zethus/
Apache License 2.0
118 stars 18 forks source link

eject from CRA #66

Closed tocttou closed 4 years ago

tocttou commented 4 years ago
  1. ejects from CRA and adds webpack.app.dev.js and webpack.app.prod.js - confirmed and tested to work with amphion wasm update (https://github.com/rapyuta-robotics/amphion/pull/69)

  2. adds build-lib.js to build the zethus.umd.js and panels.umd.js bundles for use in external applications, but is not guaranteed to work

    • latest webpack does not require additional plugins to load the wasm module from amphion, but others like rollup must install @rollup/plugin-wasm; CRA users are currently out of luck

2 requires further inspection into how the module should be built and imported, which will be dealt with in a future PR.