修改 buidl 时版本不兼容问题
This commit is contained in:
parent
9a626637dc
commit
ccf8d729cd
@ -8,7 +8,7 @@
|
|||||||
"build:dev": "vue-cli-service build --mode=test"
|
"build:dev": "vue-cli-service build --mode=test"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"autoprefixer": "^9.8.6",
|
"autoprefixer": "9.8.8",
|
||||||
"axios": "^0.21.1",
|
"axios": "^0.21.1",
|
||||||
"ckeditor4-vue": "^1.2.0",
|
"ckeditor4-vue": "^1.2.0",
|
||||||
"core-js": "^3.6.5",
|
"core-js": "^3.6.5",
|
||||||
@ -17,9 +17,9 @@
|
|||||||
"element-ui": "^2.14.1",
|
"element-ui": "^2.14.1",
|
||||||
"js-sha512": "^0.8.0",
|
"js-sha512": "^0.8.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"postcss": "^7.0.36",
|
"postcss": "7.0.39",
|
||||||
"sprintf-js": "^1.1.2",
|
"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",
|
"vant": "^2.12.10",
|
||||||
"view-design": "^4.5.0",
|
"view-design": "^4.5.0",
|
||||||
"vue": "^2.6.11",
|
"vue": "^2.6.11",
|
||||||
@ -35,7 +35,6 @@
|
|||||||
"weixin-js-sdk": "^1.6.0"
|
"weixin-js-sdk": "^1.6.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/postcss7-compat": "^2.2.6",
|
|
||||||
"@types/echarts": "^4.9.10",
|
"@types/echarts": "^4.9.10",
|
||||||
"@types/lodash": "^4.14.171",
|
"@types/lodash": "^4.14.171",
|
||||||
"@vue/cli-plugin-babel": "~4.5.0",
|
"@vue/cli-plugin-babel": "~4.5.0",
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
const TerserPlugin = require('terser-webpack-plugin');
|
const TerserPlugin = require('terser-webpack-plugin');
|
||||||
const copyWebpackPlugin = require('copy-webpack-plugin')
|
const copyWebpackPlugin = require('copy-webpack-plugin')
|
||||||
const purgecss = require('@fullhuman/postcss-purgecss')({
|
// const purgecss = require('@fullhuman/postcss-purgecss')({
|
||||||
content: [
|
// content: [
|
||||||
'./src/**/*.html',
|
// './src/**/*.html',
|
||||||
'./src/**/*.vue',
|
// './src/**/*.vue',
|
||||||
'./src/**/*.jsx',
|
// './src/**/*.jsx',
|
||||||
],
|
// ],
|
||||||
|
//
|
||||||
// Include any special characters you're using in this regular expression
|
// // Include any special characters you're using in this regular expression
|
||||||
defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || []
|
// defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || []
|
||||||
})
|
// })
|
||||||
|
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user