trans-loader demo Mount this dir to static server and open by your browser. $ yarn demo # on parent directory to build sw.js $ cd demo # here $ npm i -g http-server $ http-server -c-1