lint [skip ci]
This commit is contained in:
parent
635e76c85a
commit
8622d0af39
@ -230,7 +230,7 @@ export default function buildPreset(context, opts = {}) {
|
||||
const regenerator = allTransformations.indexOf("transform-regenerator") >= 0;
|
||||
const modulePlugin = moduleType !== false && MODULE_TRANSFORMATIONS[moduleType];
|
||||
const plugins = [];
|
||||
|
||||
|
||||
modulePlugin &&
|
||||
plugins.push([require(`babel-plugin-${modulePlugin}`), { loose }]);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user