Support serving ES6 JS to clients (#596)

* Support serving ES6 JS to clients

* Make es6 default dir and es5 a special dir

* Fix package building

* Fix build_frontend script
This commit is contained in:
Andrey
2017-11-10 09:05:37 -08:00
committed by Paulus Schoutsen
parent 86128d54b4
commit 583abedd34
19 changed files with 295 additions and 121 deletions
+8
View File
@@ -0,0 +1,8 @@
console.warn('Service worker caching disabled in development');
self.addEventListener('install', function(event) {
self.skipWaiting();
});
self.addEventListener('activate', function(event) {
self.clients.claim();
});