mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +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');
|
||||
});
|
||||
}
|
||||
</script>`.replace(/\n| +/g, '')
|
||||
</script>`.replace(/\n| +/g, '')
|
||||
|
||||
return {
|
||||
targetDir: '{{ publicDir }}',
|
||||
|
Loading…
Reference in New Issue
Block a user