diff --git a/app/sw.pwa.js b/app/sw.pwa.js new file mode 100644 index 00000000..81c3e1f9 --- /dev/null +++ b/app/sw.pwa.js @@ -0,0 +1,2 @@ +//PWA用 +self.addEventListener('fetch', function(e) {}) \ No newline at end of file diff --git a/app/view/make/make.js b/app/view/make/make.js index 688b4b26..06eff2ff 100644 --- a/app/view/make/make.js +++ b/app/view/make/make.js @@ -139,7 +139,7 @@ function main(ver, basefile, pwa) { source = source.replace(/@@lang@@/g, lang) source = source.replace(/@@langlist@@/g, langstr) if(pwa) { - source = source.replace(/@@pwa@@/g, '') + source = source.replace(/@@pwa@@/g, ``) source = source.replace(/@@node_base@@/g, 'dependencies') } else { source = source.replace(/@@pwa@@/g, '')