akfun 3.3.8 → 5.0.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akfun",
3
- "version": "3.3.8",
3
+ "version": "5.0.1",
4
4
  "description": "前端脚手架:支持Vue技术栈和react技术栈",
5
5
  "keywords": [
6
6
  "前端工程",
@@ -14,9 +14,9 @@ module.exports = {
14
14
  '@babel/preset-typescript'
15
15
  ],
16
16
  plugins: [
17
- ['import', { libraryName: 'antd', style: 'css' }], // babel-plugin-import: antd的按需加载
17
+ // ['import', { libraryName: 'antd', style: 'css' }], // babel-plugin-import: antd的按需加载
18
18
  ['@babel/plugin-transform-runtime'],
19
- ['@babel/plugin-proposal-decorators', { legacy: true }],
19
+ ['@babel/plugin-proposal-decorators', { legacy: true }], // 启用装饰器语法支持
20
20
  '@babel/plugin-proposal-function-sent',
21
21
  '@babel/plugin-proposal-export-namespace-from',
22
22
  '@babel/plugin-proposal-numeric-separator',
@@ -99,7 +99,6 @@
99
99
  "@babel/preset-react": "^7.10.1",
100
100
  "@babel/register": "^7.10.1",
101
101
  "babel-eslint": "^10.1.0",
102
- "babel-plugin-import": "^1.13.0",
103
102
  "eslint-loader": "^4.0.2",
104
103
  "eslint": "^7.2.0",
105
104
  "eslint-config-airbnb-base": "^14.1.0",
@@ -74,7 +74,6 @@
74
74
  "autoprefixer": "^10.4.2",
75
75
  "@babel/eslint-parser": "^7.17.0",
76
76
  "babel-loader": "^8.2.3",
77
- "babel-plugin-import": "^1.13.3",
78
77
  "chalk": "^4.0.0",
79
78
  "compression-webpack-plugin": "^9.2.0",
80
79
  "connect-history-api-fallback": "^1.6.0",