Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 580 Bytes

source-maps.mdx

File metadata and controls

20 lines (14 loc) · 580 Bytes
title
Source Maps

Note:

@emotion/babel-plugin is required for source maps

Emotion supports source maps for styles authored in JavaScript.

Source map demo

Required For Source Maps:

  1. @emotion/babel-plugin must be in your Babel setup. [documentation]
  2. process.env.NODE_ENV must be any value except "production"

Note:

Source maps are on by default in @emotion/babel-plugin but they will be removed in production builds