mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-15 10:09:45 +00:00
Removing everything that isn't skeletonyy (#22)
* Simplifying * Ignoring CSS defs
This commit is contained in:
@@ -20,13 +20,4 @@ if (process.env.NODE_ENV === 'development') {
|
||||
root = render(<App />, document.body, root);
|
||||
});
|
||||
});
|
||||
} else if ('serviceWorker' in navigator && location.protocol === 'https:') {
|
||||
addEventListener('load', () => {
|
||||
navigator.serviceWorker.register(__webpack_public_path__ + 'sw.js');
|
||||
});
|
||||
}
|
||||
|
||||
/** @todo Async SSR if we need it */
|
||||
// export default async () => {
|
||||
// // render here, then resolve to a string of HTML (or null to serialize the document)
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user