Browse Source

remove purifycss-webpack-plugin, it breaks frontend

pull/342/head
Guillaume Vincent 7 years ago
parent
commit
9ac77e739e
2 changed files with 1 additions and 10 deletions
  1. +0
    -1
      package.json
  2. +1
    -9
      webpack.config.js

+ 0
- 1
package.json View File

@@ -52,7 +52,6 @@
"nock": "^9.0.0", "nock": "^9.0.0",
"node-sass": "^4.0.0", "node-sass": "^4.0.0",
"optimize-css-assets-webpack-plugin": "^1.3.0", "optimize-css-assets-webpack-plugin": "^1.3.0",
"purifycss-webpack-plugin": "^2.0.3",
"sass-loader": "^4.0.2", "sass-loader": "^4.0.2",
"style-loader": "^0.13.1", "style-loader": "^0.13.1",
"url-loader": "^0.5.7", "url-loader": "^0.5.7",


+ 1
- 9
webpack.config.js View File

@@ -1,7 +1,6 @@
const webpack = require('webpack'); const webpack = require('webpack');
const path = require('path'); const path = require('path');
const ExtractTextPlugin = require('extract-text-webpack-plugin'); const ExtractTextPlugin = require('extract-text-webpack-plugin');
const purify = require("purifycss-webpack-plugin");
const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin'); const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin');


module.exports = { module.exports = {
@@ -31,14 +30,7 @@ module.exports = {
] ]
}, },
plugins: [ plugins: [
new ExtractTextPlugin('lesspass.min.css'),
new purify({
basePath: __dirname,
paths: [
"src/**/*.html",
"src/**/*.vue"
]
})
new ExtractTextPlugin('lesspass.min.css')
] ]
}; };




Loading…
Cancel
Save