From this Twitter convo. It would be cool to have a plugin that allowed you to use bare module specifiers (import * as React from 'react'
) in your app, and converted them to unpkg.com URLs.
Say you have these two source files:
// main.js
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import message from './message.js';