From ccf8d729cd9d46096a0ea8e2ca76d9e78f43e9d2 Mon Sep 17 00:00:00 2001 From: hujiabin Date: Thu, 11 Aug 2022 17:04:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20buidl=20=E6=97=B6=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E4=B8=8D=E5=85=BC=E5=AE=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 7 +++---- vue.config.js | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 25ce730..389d33c 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "build:dev": "vue-cli-service build --mode=test" }, "dependencies": { - "autoprefixer": "^9.8.6", + "autoprefixer": "9.8.8", "axios": "^0.21.1", "ckeditor4-vue": "^1.2.0", "core-js": "^3.6.5", @@ -17,9 +17,9 @@ "element-ui": "^2.14.1", "js-sha512": "^0.8.0", "lodash": "^4.17.21", - "postcss": "^7.0.36", + "postcss": "7.0.39", "sprintf-js": "^1.1.2", - "tailwindcss": "npm:@tailwindcss/postcss7-compat@2.1.0", + "tailwindcss": "npm:@tailwindcss/postcss7-compat@2.2.17", "vant": "^2.12.10", "view-design": "^4.5.0", "vue": "^2.6.11", @@ -35,7 +35,6 @@ "weixin-js-sdk": "^1.6.0" }, "devDependencies": { - "@tailwindcss/postcss7-compat": "^2.2.6", "@types/echarts": "^4.9.10", "@types/lodash": "^4.14.171", "@vue/cli-plugin-babel": "~4.5.0", diff --git a/vue.config.js b/vue.config.js index cfea7dd..a624cfe 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,15 +1,15 @@ const TerserPlugin = require('terser-webpack-plugin'); const copyWebpackPlugin = require('copy-webpack-plugin') -const purgecss = require('@fullhuman/postcss-purgecss')({ - content: [ - './src/**/*.html', - './src/**/*.vue', - './src/**/*.jsx', - ], - - // Include any special characters you're using in this regular expression - defaultExtractor: content => content.match(/[\w-/:]+(? content.match(/[\w-/:]+(?