修改 buidl 时版本不兼容问题
This commit is contained in:
parent
9a626637dc
commit
ccf8d729cd
@ -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",
|
||||
|
@ -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-/:]+(?<!:)/g) || []
|
||||
})
|
||||
// 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-/:]+(?<!:)/g) || []
|
||||
// })
|
||||
|
||||
const path = require('path')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user