Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build resources for web? #62

Open
devjiro76 opened this issue Oct 31, 2023 · 1 comment
Open

How to build resources for web? #62

devjiro76 opened this issue Oct 31, 2023 · 1 comment
Labels
question Further information is requested

Comments

@devjiro76
Copy link

What I tried

in '/packages/web' directory.
npm install
npm run resources

This makes 'dist' directory and files.
But the files are strange.

  • resources.json: I think item's size is too small
  • actual file (for example: '0200ce1c2a2b6bc4257b61e5e40b7bba6913c02afa74567efe53cd4960b26b8f' file is also very small size)

resources.json

{
  "/models/small": {
    "chunks": {
      "a59fdbcf755a59b093610421ca9c4a863b88320e58e147df9d6fd0cb964f011d": {
        "range": [
          0,
          132
        ]
      }
    },
    "size": 133,
    "mime": "application/octet-steam"
  },
  "/models/medium": {
    "chunks": {
      "0200ce1c2a2b6bc4257b61e5e40b7bba6913c02afa74567efe53cd4960b26b8f": {
        "range": [
          0,
          132
        ]
      }
    },
    "size": 133,
    "mime": "application/octet-steam"
  },
...
@DanielHauschildt
Copy link
Contributor

Exec npm run resources from inside the package directoy.

@DanielHauschildt DanielHauschildt added the question Further information is requested label Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants