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-/:]+(?