mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +00:00
fix script minification
This commit is contained in:
parent
10c306aee0
commit
25290b7aa0
@ -12,7 +12,7 @@ if ('serviceWorker' in navigator) {
|
|||||||
navigator.serviceWorker.register('${options.routerBase}_nuxt.js');
|
navigator.serviceWorker.register('${options.routerBase}_nuxt.js');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
</script>`.replace(/\n| +/g, '')
|
</script>`.replace(/\n| +/g, '')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
targetDir: '{{ publicDir }}',
|
targetDir: '{{ publicDir }}',
|
||||||
|
Loading…
Reference in New Issue
Block a user