cgserver 3.3.1 → 3.4.0
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 +1 -4
- package/webpack.config.js +0 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cgserver",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "free for all.Websocket or Http",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -67,8 +67,5 @@
|
|
|
67
67
|
"websocket": "^1.0.28"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"webpack": "^4.29.5",
|
|
71
|
-
"webpack-cli": "^3.2.3",
|
|
72
|
-
"webpack-node-externals": "^1.6.0"
|
|
73
70
|
}
|
|
74
71
|
}
|
package/webpack.config.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
var nodeExternals = require('webpack-node-externals')
|
|
2
|
-
module.exports =
|
|
3
|
-
[
|
|
4
|
-
{
|
|
5
|
-
mode: 'development',
|
|
6
|
-
// 入口
|
|
7
|
-
entry: "./index.ts",
|
|
8
|
-
// 输出的文件名
|
|
9
|
-
output: {
|
|
10
|
-
filename: 'cgserver_dev.js'
|
|
11
|
-
},
|
|
12
|
-
target: 'node', // in order to ignore built-in modules like path, fs, etc.
|
|
13
|
-
externals: [nodeExternals(),"./forever.js","./test.js"], // in order to ignore all modules in node_modules folder
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
mode: 'production',
|
|
17
|
-
// 入口
|
|
18
|
-
entry: "./index.ts",
|
|
19
|
-
// 输出的文件名
|
|
20
|
-
output: {
|
|
21
|
-
filename: 'cgserver_dist.js'
|
|
22
|
-
},
|
|
23
|
-
target: 'node', // in order to ignore built-in modules like path, fs, etc.
|
|
24
|
-
externals: [nodeExternals(),"./forever.js","./test.js"], // in order to ignore all modules in node_modules folder
|
|
25
|
-
}
|
|
26
|
-
]
|