Compare commits
2 Commits
77e5b69f19
...
95bf0de932
Author | SHA1 | Date | |
---|---|---|---|
95bf0de932 | |||
132330f4ab |
@ -110,10 +110,6 @@ let
|
|||||||
const sourceTarget = document.createElement('script')
|
const sourceTarget = document.createElement('script')
|
||||||
sourceTarget.src = '/main.js'
|
sourceTarget.src = '/main.js'
|
||||||
document.body.appendChild(sourceTarget)
|
document.body.appendChild(sourceTarget)
|
||||||
|
|
||||||
if ('serviceWorker' in navigator) {
|
|
||||||
window.addEventListener('load', () => navigator.serviceWorker.register('/sw.js'));
|
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
templateHtml = pkgs.writeText "template-html" ''
|
templateHtml = pkgs.writeText "template-html" ''
|
||||||
|
@ -101,7 +101,7 @@ module.exports = {
|
|||||||
name: PRETTY_NAME,
|
name: PRETTY_NAME,
|
||||||
template: './template.html',
|
template: './template.html',
|
||||||
meta: {
|
meta: {
|
||||||
viewport: 'width=device-width, initial-scale=1'
|
viewport: 'width=360, initial-scale=1, maximum-scale=1'
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
new FaviconsWebpackPlugin({
|
new FaviconsWebpackPlugin({
|
||||||
|
Loading…
Reference in New Issue
Block a user