@colyseus/monitor 0.16.3 → 0.16.4
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/build/index.js.map +2 -2
- package/build/index.mjs +3 -1
- package/build/index.mjs.map +2 -2
- package/build/static/bundle.js +1 -1
- package/build/static/bundle.js.map +1 -1
- package/build.mjs +1 -0
- package/package.json +1 -1
- package/src-backend/index.ts +0 -1
package/build.mjs
CHANGED
|
@@ -92,6 +92,7 @@ async function main() {
|
|
|
92
92
|
let contents = fs.readFileSync(filePath, "utf8");
|
|
93
93
|
const loader = path.extname(filePath).substring(1);
|
|
94
94
|
contents = contents.replace("__dirname", `path.dirname(fileURLToPath(import.meta.url))`)
|
|
95
|
+
console.log({loader, contents})
|
|
95
96
|
return {
|
|
96
97
|
contents,
|
|
97
98
|
loader,
|
package/package.json
CHANGED
package/src-backend/index.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { fileURLToPath } from 'url'; // required for ESM support. (esbuild uses
|
|
|
5
5
|
import { getAPI } from './api.js';
|
|
6
6
|
import './ext/Room.js';
|
|
7
7
|
|
|
8
|
-
// __dirname is not available in ESM
|
|
9
8
|
const frontendDirectory = path.resolve(__dirname, "..", "build", "static");
|
|
10
9
|
|
|
11
10
|
export interface MonitorOptions {
|