fisx-preprocessor-babel
v0.1.0
Published
A babel preprocessor for fisx
Downloads
10
Maintainers
Readme
fisx-preprocessor-babel
A preprocessor to process the code compiled by babel when using babel-plugin-external-helpers plugin.
How to use
Install
npm install fisx-preprocessor-babel --save-devAdd configure to fis-conf.js
fis.match('/src/**.js', {
preprocessor: fis.plugin('babel')
});Options
babelHelperModId -
stringoptional: define the babel helpers module id, by defaultbabelHelpersdisableBabel -
booleanoptional: if the processed file has disableBabel configure withtrue, the preprocessor will ignore this file
