From 9ac77e739eac894d6cc4bf761e561c722c6ee4de Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Wed, 28 Dec 2016 11:05:29 +0100 Subject: [PATCH] remove purifycss-webpack-plugin, it breaks frontend --- package.json | 1 - webpack.config.js | 10 +--------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/package.json b/package.json index 671b5f8..0ca933b 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,6 @@ "nock": "^9.0.0", "node-sass": "^4.0.0", "optimize-css-assets-webpack-plugin": "^1.3.0", - "purifycss-webpack-plugin": "^2.0.3", "sass-loader": "^4.0.2", "style-loader": "^0.13.1", "url-loader": "^0.5.7", diff --git a/webpack.config.js b/webpack.config.js index 03cc533..faac7cd 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,7 +1,6 @@ const webpack = require('webpack'); const path = require('path'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); -const purify = require("purifycss-webpack-plugin"); const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin'); module.exports = { @@ -31,14 +30,7 @@ module.exports = { ] }, plugins: [ - new ExtractTextPlugin('lesspass.min.css'), - new purify({ - basePath: __dirname, - paths: [ - "src/**/*.html", - "src/**/*.vue" - ] - }) + new ExtractTextPlugin('lesspass.min.css') ] };