Combines all bare imports (npm module imports) into a single packd-es
import.
Input:
import { h, render } from 'preact@next';
import { useState } from 'preact@next/hooks';
import { html } from 'htm/preact';
render(h(() => html`<a />`), document.body);
Output:
import { h, render, useState, html } from "https://packd-es.herokuapp.com/preact@next,preact@next/hooks,htm/preact?flat";
render(h(() => html`<a />`), document.body);
License: Apache 2