weixin_39789857 2020-11-30 09:35
浏览 0

Failover embed to `lib` after `dist`

Looks like we've hit a weird case with voila where we need to grab phosphor. The problem is libembed only checks unpkg for dist/index.js, but phosphor builds into lib/index.js. Is it possible to failover to lib here if the call to dist 404s?

该提问来源于开源项目:jupyter-widgets/ipywidgets

  • 写回答

5条回答 默认 最新

  • weixin_39789857 2020-11-30 09:35
    关注

    phosphor 404: https://unpkg.com//widgets.6.0/dist/index.js phosphor 200: https://unpkg.com//widgets.6.0/lib/index.js

    评论

报告相同问题?