fix script minification

This commit is contained in:
Pooya Parsa 2020-11-06 15:07:35 +01:00
parent 10c306aee0
commit 25290b7aa0

View File

@ -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 }}',