• Resolved egornmore

    (@egornmore)


    Hello,
    Is there any way to get rid of missing JS source map DevTools warnings, without disabling the source map option in DevTools preferences? Couldn’t find anything about the source maps in AMP documentation.

    DevTools trying to load following source maps: ww.mjs.map and worker.mjs.map

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @egornmore

    I will recommend ignoring that warning, A sourcemap is a mapping between the generated/transpiled/minified JavaScript file and one or more original source files. The main purpose of sourcemaps is to aid debugging. Basically, if there’s an error in the generated code file, the map can tell you the original source file location. That’s it.

    You can disable the warning by opening dev tool preference and unchecking Javascript Source map option (screenshot)

    Hope this helps!

    Thread Starter egornmore

    (@egornmore)

    Hello @milindmore22,
    Thanks for the fast response, then I’ll just disable it in preferences.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Failed to load source map’ is closed to new replies.