Source Maps

Edit this page

Note:

babel-plugin-emotion is required for source maps

emotion supports source maps for styles authored in javascript.

source-map-demo

Required For Source Maps:

  1. babel-plugin-emotion 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 babel-plugin-emotion but they will be removed in production builds