Skip to content

Commit

Permalink
chore: cache emitter code
Browse files Browse the repository at this point in the history
  • Loading branch information
vesameskanen committed May 9, 2022
1 parent 7bc4038 commit 682e125
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion static/emitter/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>emitter</title></head>
<body onload="runsw();"><div id="root"></div>
<script src="bundle.js"></script>
<script src="bundle090522.js"></script>
<script>function runsw(){if('serviceWorker' in navigator) navigator.serviceWorker.register('/sw.js');}</script>
</body></html>
1 change: 1 addition & 0 deletions webpack.config.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const productionPlugins = [
'*.png',
'css/*.css',
'assets/*.svg',
'emitter/*.js',
'assets/geojson/*.geojson',
':externals:',
],
Expand Down

0 comments on commit 682e125

Please sign in to comment.