Test: Disable Service Worker
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-04-24 13:26:05 +02:00
parent b5a00cd171
commit 955de7d1e4

View File

@@ -129,20 +129,20 @@ export default {
** Service worker ** Service worker
*/ */
// ...(!dev && { // ...(!dev && {
serviceworker: { // serviceworker: {
input: sapperConfig.serviceworker.input(), // input: sapperConfig.serviceworker.input(),
output: sapperConfig.serviceworker.output(), // output: sapperConfig.serviceworker.output(),
plugins: [ // plugins: [
resolve(), // resolve(),
aliases, // aliases,
replace({ // replace({
'process.browser': true, // 'process.browser': true,
...replaceOptions // ...replaceOptions
}), // }),
commonjs(), // commonjs(),
!dev && terser() // !dev && terser()
], // ],
onwarn, // onwarn,
} // }
// }) // })
} }