UNPKG
screepsmod-map-tool
Version:
latest (1.10.0)
1.10.0
1.9.1
1.9.0
1.8.2
1.8.1
1.8.0
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.0
1.5.1
1.5.0
1.4.1
1.4.0
1.3.1
1.3.0
1.2.0
1.1.2
1.1.1
1.0.1
1.0.0
# Usage:
screepsmod-map-tool
/
lib
/
index.js
5 lines
(4 loc)
•
199 B
JavaScript
View Raw
1
2
3
4
5
module
.
exports
=
function
(
config
) {
require
(
'./common'
)(config)
// This is for adding stuff ALL the mods/modules will see
if
(config.
backend
)
require
(
'./backend'
)(config)
// API and CLI stuff
}