Fixed the issue where the webpack version was too low and not recognized due to the new ES syntax used in third-party dependencies. (Solved by passing node_modules through esbuild, but if maintenance continues, it is recommended to upgrade webpack)
Fixed an issue where using NeteaseCloudMusicApi/server directly without using /main.js resulted in some necessary files not being created. (In addition, NeteaseCloudMusicApi's generateConfig.js also has problems. It introduces register_anonimous from main.js, but register_anonimous does not exist, so copy the necessary code directly to the project for use)
修复打包 node 侧代码时,因第三方依赖使用了新 ES 语法, webpack版本过低不识别的问题。(通过将 node_modules 过一遍 esbuild 来缓解,但如果继续维护旧播放器,建议升级 webpack)
修复直接使用 NeteaseCloudMusicApi/server 未使用 /main.js 导致一些必要文件未被创建的问题。(另,NeteaseCloudMusicApi 的 generateConfig.js 也有问题,其从 main.js 引入了 register_anonimous,但 register_anonimous 并不存在,因此直接拷贝必要代码到项目中使用)
Fixed the issue where the webpack version was too low and not recognized due to the new ES syntax used in third-party dependencies. (Solved by passing node_modules through esbuild, but if maintenance continues, it is recommended to upgrade webpack)
Fixed an issue where using NeteaseCloudMusicApi/server directly without using /main.js resulted in some necessary files not being created. (In addition, NeteaseCloudMusicApi's generateConfig.js also has problems. It introduces register_anonimous from main.js, but register_anonimous does not exist, so copy the necessary code directly to the project for use)