Liu Song’s Projects


~/Projects/163-music-proxy

git clone https://code.lsong.org/163-music-proxy

Commit

Commit
6681f11ce0d9f8b2ecf7bf3450af2f7b4b38d581
Author
pan93412 <[email protected]>
Date
2022-01-29 22:23:24 +0800 +0800
Diffstat
 package.json | 3 ++-

fix: add "server.js" to the filelist to pack

目前的 NPM 包少了 server.js,會導致
"NeteaseCloudMusicApi/server" 找不到檔案,也會讓
npx NeteaseCloudMusicApi 報錯(找不到 server.js 模組)


diff --git a/package.json b/package.json
index d18d9630c3abe04693b91739b418a518e1fe2bcf..2c7cc36c7dcd7d28b52a06f31909de0119c6cda9 100644
--- a/package.json
+++ b/package.json
@@ -45,7 +45,8 @@     "util",
     "plugins",
     "main.d.ts",
     "interface.d.ts",
-    "module_types"
+    "module_types",
+    "server.js"
   ],
   "dependencies": {
     "axios": "^0.24.0",