Test: Disable Service Worker
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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,
|
||||||
}
|
// }
|
||||||
// })
|
// })
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user