Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
初志鑫 committed May 14, 2020
1 parent c76ef49 commit d0e8b35
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@ const FileManagerPlugin = require("filemanager-webpack-plugin");
const date = require("dayjs")().format("YYYY_M_D");
const time = require("dayjs")().format("YYYY-M-D HH:mm:ss");
const CompressionWebpackPlugin = require("compression-webpack-plugin");

const productionGzipExtensions = [
"js",
"css",
"sass",
"scss",
"svg",
"vue",
"ttf",
];
const productionGzipExtensions = ["html", "js", "css", "svg"];

function resolve(dir) {
return path.join(__dirname, dir);
Expand All @@ -42,6 +33,7 @@ module.exports = {
transpileDependencies: ["vue-echarts", "resize-detector"],
devServer: {
hot: true,
https: true,
port: devPort,
open: true,
noInfo: false,
Expand Down

0 comments on commit d0e8b35

Please sign in to comment.