akfun 1.6.1 → 1.6.2
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/module/index.js
CHANGED
package/package.json
CHANGED
|
@@ -22,7 +22,7 @@ const { resolveToCurrentRoot, resolveToCurrentDist } = require('../utils/pathUti
|
|
|
22
22
|
const babelConfig = require('./babel.config'); // Babel的配置文件
|
|
23
23
|
const config = require('./index'); // 引入当前项目配置文件
|
|
24
24
|
|
|
25
|
-
module.exports = function
|
|
25
|
+
module.exports = function(fileName) {
|
|
26
26
|
// 获取用户配置的构建入口文件
|
|
27
27
|
let rollupInput = resolveToCurrentRoot('src/main.js');
|
|
28
28
|
if (config.build2esm && config.build2esm.input) {
|
package/src/utils/akfunParams.js
CHANGED