1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
---
title: 'Source Maps'
---
> Note:
>
> `@emotion/babel-plugin` is required for source maps
Emotion supports source maps for styles authored in JavaScript.

Required For Source Maps:
1. `@emotion/babel-plugin` must be in your Babel setup. [[documentation]](/docs/install.mdx)
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
|