Commit f4cb2d30 authored by van.chen's avatar van.chen

让测试环境的速度快一点

parent b94f0a64
......@@ -69,6 +69,22 @@
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.hmr.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
}
}
......
......@@ -4,7 +4,7 @@
export const environment = {
SERVER_URL: `./`,
production: false,
production: true,
useHash: true,
hmr: false,
baseUrl: 'http://172.16.1.13:8092'
......
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