akfun 5.3.2 → 5.3.3

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": "5.3.2",
3
+ "version": "5.3.3",
4
4
  "description": "前端脚手架:支持Vue技术栈和react技术栈",
5
5
  "keywords": [
6
6
  "前端工程",
package/src/dev-server.js CHANGED
@@ -114,11 +114,13 @@ module.exports = function (akfunConfig, _consoleTag, callbackFunc) {
114
114
 
115
115
  let entryConfig = webpackConfig.entry || {}; // 获取构建入口配置
116
116
  const entryFiles = (entryConfig && Object.keys(entryConfig)) || [];
117
+ let firstAssetUrl = `${projPath}index.js`; // 首个构建入口配置
118
+
117
119
  if (entryFiles.length > 0) {
118
120
  // 获取第一个入口文件
119
121
  const filename = entryFiles[0];
120
122
  const consoleInfo = curEnvConfig.consoleInfo || '当前运行脚本';
121
- const firstAssetUrl = `${projPath}${filename}.js`
123
+ firstAssetUrl = `${projPath}${filename}.js`;
122
124
 
123
125
  if (curEnvConfig.cssExtract || curEnvConfig.cssExtract === undefined) {
124
126
  console.info(