react-dots-loader
Version:
A nice loader showing 3 animated dots - carefully crafted for React
21 lines (17 loc) • 393 B
JavaScript
function notEmpty(x){ return !!x }
var hot = require('./env').HOT
module.exports = [
{
test: /\.js$/,
exclude: /node_modules/,
loaders: [hot ? 'react-hot' : null, 'babel'].filter(notEmpty)
},
{
test: /\.css$/,
loader: 'style!css?modules&importLoaders=1&localIdentName=[local]---[hash:6]!autoprefixer',
exclude: [
/node_modules/
]
}
];