Bladeren bron

remove purifycss-webpack-plugin, it breaks frontend

pull/342/head
Guillaume Vincent 7 jaren geleden
bovenliggende
commit
9ac77e739e
2 gewijzigde bestanden met toevoegingen van 1 en 10 verwijderingen
  1. +0
    -1
      package.json
  2. +1
    -9
      webpack.config.js

+ 0
- 1
package.json Bestand weergeven

@@ -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",


+ 1
- 9
webpack.config.js Bestand weergeven

@@ -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')
]
};



Laden…
Annuleren
Opslaan