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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/build2esm.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akfun",
3
- "version": "1.6.6",
3
+ "version": "1.6.7",
4
4
  "description": "前端脚手架:支持Vue技术栈和react技术栈",
5
5
  "keywords": [
6
6
  "前端工程",
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;