fix ant-btn

This commit is contained in:
yiminghe 2015-07-15 20:54:37 +08:00
parent 3777933020
commit 7c37203f37
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ var Test = React.createClass({
<Switch disabled={this.state.disabled} />
<br />
<br />
<button className="ant-btn atn-btn-primary" onClick={this.toggle}>Toggle disabled</button>
<button className="ant-btn ant-btn-primary" onClick={this.toggle}>Toggle disabled</button>
</div>;
}
});

View File

@ -36,12 +36,12 @@ module.exports = {
}, {
test: /\.less$/,
loader: ExtractTextPlugin.extract(
'css?sourceMap&-restructuring!' + 'autoprefixer-loader!' + 'less?sourceMap'
'css?sourceMap&-minimize!' + 'autoprefixer-loader!' + 'less?sourceMap'
)
}, {
test: /\.css$/,
loader: ExtractTextPlugin.extract(
'css?sourceMap!' + 'autoprefixer-loader'
'css?sourceMap&-minimize!' + 'autoprefixer-loader'
)
}]
},