react-dots-loader
Version:
A nice loader showing 3 animated dots - carefully crafted for React
24 lines (21 loc) • 393 B
JavaScript
var ExtractTextPlugin = require('extract-text-webpack-plugin')
module.exports = {
entry: {
index: './src/index.css'
},
output: {
filename: 'index.css'
},
module: {
loaders: [
{
test: /\.css$/,
loader: ExtractTextPlugin.extract('style', 'css!autoprefixer')
}
]
},
plugins: [
new ExtractTextPlugin('[name].css')
]
}