Update prodConfig to handle images
parent
ee59003018
commit
535373a96d
|
@ -38,15 +38,15 @@ var config = {
|
|||
},
|
||||
{
|
||||
test: /\.scss$/,
|
||||
loader: ExtractTextPlugin.extract('style-loader', 'css-loader!sass-loader'),
|
||||
loader: ExtractTextPlugin.extract('style-loader', 'css-loader!sass-loader!resolve-url!sass?sourceMap'),
|
||||
},
|
||||
{
|
||||
test: /\.css$/,
|
||||
loader: ExtractTextPlugin.extract('style-loader', 'css-loader!postcss-loader'),
|
||||
},
|
||||
{
|
||||
test : /\.(ttf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/,
|
||||
loader : 'file-loader',
|
||||
test : /\.(png|jpg|ttf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/,
|
||||
loader : 'file',
|
||||
},
|
||||
{
|
||||
test: /\.js$/,
|
||||
|
|
Loading…
Reference in New Issue