瀏覽代碼

remove purifycss-webpack-plugin, it breaks frontend

pull/342/head
Guillaume Vincent 7 年之前
父節點
當前提交
9ac77e739e
共有 2 個檔案被更改,包括 1 行新增10 行删除
  1. +0
    -1
      package.json
  2. +1
    -9
      webpack.config.js

+ 0
- 1
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",


+ 1
- 9
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')
]
};



Loading…
取消
儲存