workbox
workbox copied to clipboard
Webpack InjectManifest prod build Terser error.
Library Affected: InjectManifest
Browser & Platform: "all browsers"
Issue or Feature Request Description: When I build my ServiceWorker via Webpack in development mode everything works fine but when I want to build for a prod I saw a Terser error in my console. (Unexpected token: punc (:))
I use i18n in my ServiceWorker when I comment i18n import everything works fine.
Any idea why this compile error happens?
I'm sorry, but I'm not familiar with that specific build setup.
Can you share a link to a GitHub repo with a project that reproduces the problem? Or alternatively, reproduce the issue in an environment like https://codesandbox.io/?