diff --git a/package.json b/package.json index 61c6609..1ba23ae 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,6 @@ }, "devDependencies": { "css-loader": "~0.28.11", - "extract-text-webpack-plugin": "~4.0.0-beta.0", "file-loader": "~1.1.11", "html-webpack-plugin": "~3.2.0", "url-loader": "~1.0.1", diff --git a/webpack.config.js b/webpack.config.js index 330fcc0..c2dcd74 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,6 +1,5 @@ const path = require('path'); const webpack = require('webpack'); -const ExtractTextPlugin = require('extract-text-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const server = require('./server/index.js'); const { formatHeaders } = require('./server/headers.js'); @@ -38,10 +37,7 @@ module.exports = { rules: [ { test: /\.css$/, - use: ExtractTextPlugin.extract({ - fallback: 'style-loader', - use: 'css-loader' - }) + loader: 'css-loader' }, // fonts { @@ -56,7 +52,6 @@ module.exports = { }, plugins: [ new webpack.DefinePlugin({ __DEV__: true }), - new ExtractTextPlugin('app.css', { allChunks: true }), new HtmlWebpackPlugin({ template: 'index.template.html', inject: 'body'