diff --git a/gulpfile.js b/gulpfile.js index fd68138e..988f6cc5 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -6,7 +6,8 @@ const plugins = require('gulp-load-plugins')({ lazy: true, postRequireTransforms: { print: (plugin) => plugin.default, - uglifyEs: (plugin) => plugin.default + uglifyEs: (plugin) => plugin.default, + if: (plugin) => plugin.default } });