Do source maps work for Chrome extensions?

后端 未结 4 661
一生所求
一生所求 2020-12-17 20:49

I\'m using the Closure compiler to create a Chrome extension and I\'d like to get source maps to work for debugging. I can get source maps to work just fine by pointing the

4条回答
  •  我在风中等你
    2020-12-17 21:19

    I know I'm incredibly late to the party, but Chrome DOES allow source maps. The problem you may be having is that it refuses to load the maps by default. This can be fixed by adding the map to the web_accessible_resources in your manifest.json file.

提交回复
热议问题