ES modules in service workers
CRANK
Service workers can use static imports of ES modules to bring in extra code, as an alternative to importScripts().
2 comments
Service workers can use static imports of ES modules to bring in extra code, as an alternative to importScripts().
Service Worker コンテキストの JavaScript で ES Modules が動作する。静的な import 構文がサポートされており、動的な import() 関数も将来的にサポートされる。importScript() 関数を使うケースはなくなりそう。