Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ES6ModulesとServiceWorker時代のTypescript開発

 ES6ModulesとServiceWorker時代のTypescript開発

ServiceWorkerとES6 Modulesを利用してTypescript開発をどう変えていけるか考えてみた

More Decks by Taketoshi Aono(青野健利 a.k.a brn)

Other Decks in Programming

Transcript

  1. せ⵸: @brn (ꫬꅿ⨳ⵃa.k.a ـٕ٦ظ) 耵噟: ؿٗٝزؒٝسؒٝآص،٥iOSؒٝآص، ⠓爡: Cyberagent ،سذؙأةآؔRightSegment٥AI Messenger

    ـؚٗ: http://abcdef.gets.b6n.ch/ Twitter: https://twitter.com/brn227 GitHub: https://github.com/brn
  2. Strategy register() controllerchange postMessage(load tsconfig) postMessage(load succeeded) load typescript via

    script tag ... ServiceWorker Main install active skipWaiting() claim() wait fetch event load typescript via ES6 import transpileModule transpileModule Transpiled code