Skip to content

Commit b164b8b

Browse files
committed
Move socketlib to lib folder
1 parent 95be69d commit b164b8b

File tree

9 files changed

+4
-9
lines changed

9 files changed

+4
-9
lines changed
File renamed without changes.
File renamed without changes.

system.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"minimumCoreVersion": "0.8.6",
88
"compatibleCoreVersion": "0.8.9",
99
"esmodules": [
10-
"assets/socketlib/src/libwrapper_shim.js",
11-
"assets/socketlib/src/socketlib.js",
10+
"lib/socketlib/src/libwrapper_shim.js",
11+
"lib/socketlib/src/socketlib.js",
1212
"bundle.js"
1313
],
1414
"templateVersion": 1,
@@ -108,12 +108,6 @@
108108
}
109109
],
110110
"socket": true,
111-
"dependencies": [
112-
{
113-
"name": "socketlib",
114-
"manifest": "https://raw.githubusercontent.com/manuelVo/foundryvtt-socketlib/master/module.json"
115-
}
116-
],
117111
"gridDistance": 5,
118112
"gridUnits": "ft",
119113
"primaryTokenAttribute": "attribs.hp",

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import * as path from 'path'
21
import { fileURLToPath } from 'url'
32
import * as fs from 'fs'
43
import * as os from 'os'
4+
import * as path from 'path'
55
import * as process from 'process'
66
import CopyWebpackPlugin from 'copy-webpack-plugin'
77
import CssMinimizerPlugin from 'css-minimizer-webpack-plugin'
@@ -113,6 +113,7 @@ const bundleScript = {
113113
patterns: [
114114
{ from: 'assets/', to: 'assets/' },
115115
{ from: 'lang/', to: 'lang/' },
116+
{ from: 'lib/', to: 'lib/' },
116117
{ from: 'LICENSE' },
117118
{ from: 'packs/', to: 'packs/' },
118119
{ from: 'README.md' },

0 commit comments

Comments
 (0)