worker-dom icon indicating copy to clipboard operation
worker-dom copied to clipboard

Support ES Modules

Open developit opened this issue 4 years ago • 1 comments

I'm wondering about ways to support ES Modules. I'm not sure how this affects AMP's usage, but being able to use ESM from within worker-dom would be really nifty.

My initial thought was to use Shimport, since the Worker employed by worker-dom is generally not going to be a Module Worker (or could it be?).

developit avatar Jan 19 '21 01:01 developit

Me too. related https://github.com/ampproject/worker-dom/pull/855

mizchi avatar Mar 16 '21 08:03 mizchi