Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 481 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 481 Bytes

scrat-parser-babel

A parser plugin for scrat to compile js/jsx files with babel.

Usage

fis.config.set('project.fileType.text', 'jsx'); // treat .jsx as text file.
fis.config.set('roadmap.ext.jsx', 'js');        // treat .jsx as js
fis.config.set('modules.parser.jsx', 'babel');  // compile .jsx with scrat-parser-babel
fis.config.set('settings.parser.babel', {});    // options for babel transpiling