Glavin001 / atom-preview

:construction: (NO LONGER MAINTAINED) :construction: - :eyeglasses: Ultimate previewer of source code in Atom.
https://atom.io/packages/preview
MIT License
51 stars 23 forks source link

Setting Babel module format #109

Open screendriver opened 9 years ago

screendriver commented 9 years ago

In Babel you can set which module format should be used. Default is CommonJS. You can set amd, system and umd as well.

$ babel -m amd index.js

It would be nice if we could set this in the settings pane of atom-preview so preview can display the different outputs depending on this setting. I tried to make a pull request for this but unfortunately I am not experienced enough to accomplish this :unamused: