Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Feb 19, 2018
1 parent 4b2c9a9 commit dfd71ac
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/umi-build-dev/src/registerBabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export default function(babelPreset, opts = {}) {
const fullPath = f.charAt(0) === '/' ? f : join(cwd, f);
return excapeRegExp(winPath(fullPath));
});
console.log(only);
registerBabel({
only: [only.join('|')],
babelPreset: [babelPreset, { disableTransform: true }],
Expand Down

0 comments on commit dfd71ac

Please sign in to comment.