@kispace-io/gs-lib 1.0.27 → 1.0.28
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/bin/map-builder.js +10 -6
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/src/base-map-builder.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kispace-io/gs-lib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "EPL-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
"ol-mapbox-style": "^13.1.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@kispace-io/appspace": "*"
|
|
39
|
+
"@kispace-io/appspace": "*",
|
|
40
|
+
"esbuild": "^0.27.0"
|
|
40
41
|
},
|
|
41
42
|
"publishConfig": {
|
|
42
43
|
"access": "public"
|
package/src/base-map-builder.ts
CHANGED
|
@@ -377,7 +377,7 @@ export async function buildMap(
|
|
|
377
377
|
const entryPointContent = generateAppJs({
|
|
378
378
|
gsMap: options.gsMap,
|
|
379
379
|
gsLibPath: buildGsLibPath,
|
|
380
|
-
env: options.env
|
|
380
|
+
env: { ...options.env, BUILD_TIME: new Date() }
|
|
381
381
|
})
|
|
382
382
|
await fs.writeFile(`${buildDir}/app.js`, entryPointContent)
|
|
383
383
|
|