From 2bb568865ca36f3d182f88c3261089e66cad6f22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Wed, 6 May 2020 23:04:35 +0200 Subject: [PATCH] Service Worker is fucking up loading assets and the globe texture GET https://housesof.world/fonts/G-Light.woff2 net::ERR_HTTP2_PROTOCOL_ERROR 200 (index):1 GET https://housesof.world/fonts/G-Regular.woff net::ERR_HTTP2_PROTOCOL_ERROR 200 (index):5 GET https://housesof.world/fonts/G-Semibold.woff2 net::ERR_HTTP2_PROTOCOL_ERROR 200 (index):1 GET https://housesof.world/fonts/G-Semibold.woff net::ERR_HTTP2_PROTOCOL_ERROR 200 GLOBE: index.cd27397d.js:1 WebGL: INVALID_VALUE: texImage2D: bad image data bindImage @ index.cd27397d.js:1 r.onload @ index.cd27397d.js:1 load (async) k.fromUrl @ index.cd27397d.js:1 buildWebglScene @ index.cd27397d.js:1 default @ index.cd27397d.js:1 (anonymous) @ InteractiveGlobe.62b7bd9e.js:1 async function (async) (anonymous) @ InteractiveGlobe.62b7bd9e.js:1 o @ client.8ee97230.js:1 (anonymous) @ client.8ee97230.js:1 ct @ client.8ee97230.js:1 Promise.then (async) Pt @ client.8ee97230.js:1 (anonymous) @ client.8ee97230.js:1 (anonymous) @ InteractiveGlobe.62b7bd9e.js:1 r @ InteractiveGlobe.62b7bd9e.js:1 setTimeout (async) (anonymous) @ InteractiveGlobe.62b7bd9e.js:1 --- rollup.config.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 6978afc..e666780 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -127,22 +127,22 @@ export default { /* ** Service worker */ - ...(!dev && { - serviceworker: { - input: sapperConfig.serviceworker.input(), - output: sapperConfig.serviceworker.output(), - plugins: [ - resolve(), - replace({ - 'process.browser': false, - ...replaceOptions - }), - aliases, - glslify(), - commonjs(), - !dev && terser() - ], - onwarn, - } - }) + // ...(!dev && { + // serviceworker: { + // input: sapperConfig.serviceworker.input(), + // output: sapperConfig.serviceworker.output(), + // plugins: [ + // resolve(), + // replace({ + // 'process.browser': false, + // ...replaceOptions + // }), + // aliases, + // glslify(), + // commonjs(), + // !dev && terser() + // ], + // onwarn, + // } + // }) }