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
@@ -163,7 +163,7 @@ let argv = yargs
163
163
  .option('fileName', {
164
164
  alias: 'n',
165
165
  describe: '输出的文件名',
166
- default: 'lib',
166
+ default: '',
167
167
  })
168
168
  .alias('h', 'help');
169
169
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akfun",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "前端脚手架:支持Vue技术栈和react技术栈",
5
5
  "keywords": [
6
6
  "前端工程",
@@ -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 (fileName) {
25
+ module.exports = function(fileName) {
26
26
  // 获取用户配置的构建入口文件
27
27
  let rollupInput = resolveToCurrentRoot('src/main.js');
28
28
  if (config.build2esm && config.build2esm.input) {
@@ -1,4 +1,4 @@
1
- var consoleTag = '[akfun]'; // 输出标记
1
+ let consoleTag = '[akfun]'; // 输出标记
2
2
 
3
3
  function setConsoleTag(newText) {
4
4
  consoleTag = newText;