17 lines
545 B
JavaScript
17 lines
545 B
JavaScript
// [[file:../../aesthetics.org::*=js/app.js= -- our code goes here.][=js/app.js= -- our code goes here.:1]]
|
|
// We need to import the CSS so that webpack will load it.
|
|
// The MiniCssExtractPlugin is used to separate it out into
|
|
// its own CSS file.
|
|
import "../css/app.scss"
|
|
|
|
// import "./live.js"
|
|
|
|
// if('serviceWorker' in navigator) {
|
|
// navigator.serviceWorker.register('/js/sw.js', {
|
|
// scope: '/'
|
|
// }).then(function() {
|
|
// console.log('Service Worker Registered');
|
|
// });
|
|
// }
|
|
// =js/app.js= -- our code goes here.:1 ends here
|