Skip to content

Commit

Permalink
chore: don't resolve babelrc from upper directory, Close dvajs#62
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Sep 7, 2016
1 parent bbd8650 commit b04ae6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/user-dashboard/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const path = require('path');
const glob = require('glob');

module.exports = function (webpackConfig, env) {
webpackConfig.babel.babelrc = false;
webpackConfig.babel.plugins.push('transform-runtime');
webpackConfig.babel.plugins.push(['antd', {
style: 'css' // if true, use less
Expand Down

0 comments on commit b04ae6a

Please sign in to comment.