Commit f3f4729b authored by “yiyousong”'s avatar “yiyousong”

feat:添加编译css插件

parent 35ce7617
......@@ -46,6 +46,7 @@
"filemanager-webpack-plugin": "^8.0.0",
"less": "^4.0.0",
"less-loader": "^8.0.0",
"postcss-cssnext": "^3.1.1",
"svg-sprite-loader": "^4.1.6",
"vue-template-compiler": "^2.6.14"
}
......
const cssnext = require("postcss-cssnext");
module.exports = {
plugins: [cssnext],
};
......@@ -2,7 +2,7 @@ const { defineConfig } = require("@vue/cli-service");
const FileManagerPlugin = require("filemanager-webpack-plugin"); // 压缩文件夹
const isDev = process.env.NODE_ENV === "development";
let plugins = [];
// 避免本地启项目时自动打zip包
// 避免本地启项目时自动打zip包
if (!isDev) {
plugins.push(
new FileManagerPlugin({
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment