@ecoding/base.build 0.0.22 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/libs/dev/index.js +1 -0
- package/package.json +2 -2
package/libs/dev/index.js
CHANGED
|
@@ -17,6 +17,7 @@ const getDevServer = () => {
|
|
|
17
17
|
const dev = Object.assign({}, customConfig.dev);
|
|
18
18
|
delete dev.publicPath;
|
|
19
19
|
const obj = {
|
|
20
|
+
compress: true,
|
|
20
21
|
// 配合单页路由 BrowserRouter 使用找寻index
|
|
21
22
|
historyApiFallback: {
|
|
22
23
|
rewrites: customConfig.mpa ? entryRewrites() : [{ from: /\.*/, to: "/index.html" }]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecoding/base.build",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"description": "tpl building",
|
|
5
5
|
"author": "cxc",
|
|
6
6
|
"license": "MIT",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "ca43d3b3552d5e0b84711476316c51ea11591d97"
|
|
57
57
|
}
|