Bring back extract text webpack plugin

This commit is contained in:
Jori Lallo
2017-09-11 23:18:44 -07:00
parent f9ec9d7b15
commit 9808c1cdf5
5 changed files with 26 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
/* eslint-disable */
const path = require('path');
const webpack = require('webpack');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
require('dotenv').config({ silent: true });
@@ -40,7 +41,7 @@ module.exports = {
},
{
test: /\.css$/,
loader: 'style-loader!css-loader?sourceMap',
loader: ExtractTextPlugin.extract('style-loader', 'css-loader'),
},
{ test: /\.md/, loader: 'raw-loader' },
],