0.1.0 • Published 7 years ago
fisx-preprocessor-babel v0.1.0
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-dev
Add configure to fis-conf.js
fis.match('/src/**.js', {
preprocessor: fis.plugin('babel')
});
Options
babelHelperModId -
string
optional
: define the babel helpers module id, by defaultbabelHelpers
disableBabel -
boolean
optional
: if the processed file has disableBabel configure withtrue
, the preprocessor will ignore this file
0.1.0
7 years ago