akfun 5.0.3 → 5.1.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akfun",
3
- "version": "5.0.3",
3
+ "version": "5.1.0",
4
4
  "description": "前端脚手架:支持Vue技术栈和react技术栈",
5
5
  "keywords": [
6
6
  "前端工程",
@@ -60,9 +60,10 @@
60
60
  "@babel/plugin-proposal-numeric-separator": "^7.16.7",
61
61
  "@babel/plugin-proposal-throw-expressions": "^7.16.7",
62
62
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
63
- "@babel/plugin-syntax-import-meta": "^7.10.4",
63
+ "@babel/plugin-syntax-import-meta": "^7.27.1",
64
64
  "@babel/plugin-transform-runtime": "^7.17.0",
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
- // Define HTTP proxies to your custom API backend
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请求的代理失效