Skip to content

Commit

Permalink
fix(app-webpack): PWA - don't use Webpack to compile again the custom…
Browse files Browse the repository at this point in the history
… service worker (already compiled by esbuild) #17745
  • Loading branch information
rstoenescu committed Jan 11, 2025
1 parent bfd59bc commit 0d409f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app-webpack/lib/modes/pwa/pwa-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ function injectWebpackPwa (webpackChain, quasarConf) {

opts.swSrc = ctx.appPaths.resolve.entry('compiled-custom-sw.js')
opts.swDest = quasarConf.pwa.swFilename
opts.compileSrc = false // don't use Webpack to compile it again

if (typeof quasarConf.pwa.extendInjectManifestOptions === 'function') {
quasarConf.pwa.extendInjectManifestOptions(opts)
Expand Down

0 comments on commit 0d409f1

Please sign in to comment.