From 6d90d44abc11b42da9de8a111ab7728636ff25c1 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 7 Jan 2018 23:02:25 -0800 Subject: [PATCH] cleanup --- templates/main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/main.js b/templates/main.js index a94f56d5..d044b236 100644 --- a/templates/main.js +++ b/templates/main.js @@ -2,7 +2,7 @@ import { init } from 'sapper/runtime.js'; // polyfills Promise.all([ - typeof URLSearchParams === 'undefined' && import('url-search-params').then(Params => { + typeof URLSearchParams === 'undefined' && import(/* webpackChunkName: 'url-search-params' */ 'url-search-params').then(Params => { window.URLSearchParams = Params Object.defineProperty(window.URL.prototype, 'searchParams', { get() { @@ -11,7 +11,6 @@ Promise.all([ }) }) ]).then(() => { - console.log('done') // `routes` is an array of route objects injected by Sapper init(document.querySelector('#sapper'), __routes__) }) \ No newline at end of file