jordwalke/one-click.js

【Suggest】node_modules fallback to unpkg

Opened this issue · 1 comments

YikaJ commented

There are npm modules in unpkg which can be fetched by ajax. Maybe when oneClick can't find target module in /node_modules/, it can try to get it in unpkg.

For example, try to require('react')
https://unpkg.com/react

It is not possible to fetch modules asynchronously when running from the local file system. Is this what you meant?