This repository was archived by the owner on Jan 16, 2018. It is now read-only.

Description
Currently to specify a loader you can write:
loaders: [
{ test: /\.js$/, loader: 'babel', query: {stage: 0, optional: ['runtime']} }
]
but this does not support multiple loaders. For that, only the string syntax is supported: react-hot!babel?stage=0&optional[]=runtime. I would like to be able to use the object literal syntax to specify multiple loaders with query parameters:
loaders: [
{
test: /\.js$/,
loaders: [
{ loader: 'react-hot' }, // or just 'react-hot', using the string syntax as shorthand
{ loader: 'babel', query: {stage: 0, optional: ['runtime'] }
]
}
]