mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
jsx-loader -> babel-loader in webpack.config, #5
This commit is contained in:
@@ -19,8 +19,7 @@ module.exports = {
|
||||
|
||||
module: {
|
||||
loaders: [
|
||||
{test: /\.jsx$/, loader: 'jsx-loader?harmony'},
|
||||
{test: /\.js$/, loader: 'jsx-loader?harmony'},
|
||||
{test: /\.jsx?$/, loader: 'babel'},
|
||||
{test: /\.json$/, loader: 'json-loader'},
|
||||
{test: /\.less$/, loader: "style!css!less"},
|
||||
{test: /\.css/, loader: 'style!css'}
|
||||
|
||||
Reference in New Issue
Block a user