akfun 1.6.6 → 1.6.7
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 +1 -1
- package/src/build2esm.js +1 -1
package/package.json
CHANGED
package/src/build2esm.js
CHANGED
|
@@ -35,7 +35,7 @@ module.exports = function (fileName, akfunConfig, _consoleTag) {
|
|
|
35
35
|
config = deepMergeConfig(defaultConfig, akfunConfig);
|
|
36
36
|
}
|
|
37
37
|
const spinner = ora(`${consoleTag}开启esm lib库的构建能力...`).start();
|
|
38
|
-
const curRollupConfig = rollupConfig(fileName); // 默认配置
|
|
38
|
+
const curRollupConfig = rollupConfig(fileName, config); // 默认配置
|
|
39
39
|
const build2esm = config.build2esm; // 用户的项目配置
|
|
40
40
|
if (build2esm && build2esm.input) {
|
|
41
41
|
curRollupConfig.input = build2esm.input;
|