jsx / JSX

JSX - a faster, safer, easier JavaScript
http://jsx.github.io/
MIT License
1.46k stars 102 forks source link

Adopt Standard Source Map Naming #339

Open bdkjones opened 8 years ago

bdkjones commented 8 years ago

Currently, if you have a file named input.jsx and you compile it to output.js and enable the source-map option, you'll get a source map file named output.js.mapping.

The defacto industry standard naming convention for source maps is [output filename].[output extension].map. In this example, the source map should be output.js.map.

Please move to that naming convention, as it matches what literally every other language does. Sass, CoffeeScript, Less, Stylus and Uglify.js just off the top of my head.