![]() This gives you the illusion of running a development site in production. Meanwhile, Chrome is actually running your minified code. You then use the originals to set breakpoints and step through code. Source Maps from preprocessors cause DevTools to load your original files in addition to your minified ones. Compilers ( Closure Compiler, TypeScript, CoffeeScript, Dart).The following types of preprocessors are commonly used in combination with Source Maps: For an extended view, see the Source maps: languages, tools and other info wiki page. You need to use a minifier that's capable of creating source maps. This article explains how to interact with JavaScript Source Maps in the DevTools Sources Panel. Verify that your web server can serve Source Maps.Only use preprocessors capable of producing Source Maps.You can then read and debug compiled code in its original source. Use Source Maps to map minified code to source code.Use source maps to map your source code to your compiled code. Keep your client-side code readable and debuggable even after you've combined, minified or compiled it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |