akfun 5.0.3 → 5.1.1
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/package.json +3 -2
- package/src/dev-server.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "akfun",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"description": "前端脚手架:支持Vue技术栈和react技术栈",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"前端工程",
|
|
@@ -61,8 +61,9 @@
|
|
|
61
61
|
"@babel/plugin-proposal-throw-expressions": "^7.16.7",
|
|
62
62
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
63
63
|
"@babel/plugin-syntax-import-meta": "^7.10.4",
|
|
64
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
64
|
+
"@babel/plugin-transform-runtime": "^7.27.1",
|
|
65
65
|
"@babel/polyfill": "^7.10.1",
|
|
66
|
+
"@babel/runtime": "^7.27.1",
|
|
66
67
|
"@babel/preset-env": "^7.16.11",
|
|
67
68
|
"@babel/preset-react": "^7.16.7",
|
|
68
69
|
"@babel/preset-typescript": "^7.16.7",
|
package/src/dev-server.js
CHANGED
|
@@ -50,7 +50,7 @@ module.exports = function (akfunConfig, _consoleTag) {
|
|
|
50
50
|
// 获取开发环境的webpack基本配置
|
|
51
51
|
const webpackConfig = getDevWebpackConfig(config);
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
// Define HTTP proxies to your custom API backend
|
|
54
54
|
// https://github.com/chimurai/http-proxy-middleware
|
|
55
55
|
// 使用 config.dev.proxyTable 的配置作为 proxyTable 的代理配置
|
|
56
56
|
// 备注:需放connect-history-api-fallback前面,避免get请求的代理失效
|