Menu

#2235 Webpack InjectManifest plugin produces incorrect source maps in Webpack production mode

v5
closed
nobody
2019-10-01
2019-09-25
Anonymous
No

Originally created by: ezzatron
Originally owned by: jeffposnick

Library Affected:
workbox-webpack-plugin v5 beta

Browser & Platform:
all browsers

Issue or Feature Request Description:

When using the workbox-webpack-plugin InjectManifest plugin with Webpack in production mode, the service worker source maps are corrupted/incorrect.

The issue seems to be that the source map is generated before the precache manifest is added, because manually removing the precache manifest from the compiled service worker makes the source map line up with the intended positions in the code.

Related

Tickets: #2239

Discussion

  • Anonymous

    Anonymous - 2019-09-25
     
  • Anonymous

    Anonymous - 2019-10-01

    Ticket changed by: jeffposnick

    • status: open --> closed
     

Log in to post a comment.