Disable source maps with macros?
See original GitHub issueI can’t seem to find in the documentation how to disable the sourcemaps when I use emotion macros.
I see the source code reads a emotionSourceMap
option but where do I define it?
Specifically, I’d like to disable them during tests
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Disable source maps in Chrome DevTools - Stack Overflow
Open Developer Tools, go to "Settings" for Developer Tools, then uncheck Enable JavaScript Sourcemaps under the "Sources" settings.
Read more >Source Maps - Emotion
Emotion supports source maps for styles authored in JavaScript. Source map demo. Required For Source Maps: @emotion/babel-plugin must be in your Babel setup ......
Read more >Macros from the internet will be blocked by default in Office
Provides guidance for admins about how Office blocks macros in files from the internet.
Read more >Global Compiler Flags - Haxe - The Cross-platform Toolkit
Disables Haxe source mapping when targetting C#, removes position comments in Java and Php output. cs, java, php. replace_files, GenCommon internal. cs, java....
Read more >Map Source Location of Blocks - Asciidoctor Docs
The sourcemap provides line and file information for all blocks in the parsed document. Specifically, it provides information about the start of each...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I want to snapshot test the result of a
css
call and right now it includes the inlined source mapNo nothing wrong, I just thought it would have been better to avoid to add some (apparently) unneeded logic to my tests. I’ll use
styled
then, thanks.!