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

Feature request: Allow to chunk hash property #242

Open
dkrnl opened this issue Aug 3, 2022 · 1 comment
Open

Feature request: Allow to chunk hash property #242

dkrnl opened this issue Aug 3, 2022 · 1 comment

Comments

@dkrnl
Copy link

dkrnl commented Aug 3, 2022

Hi!
I need allow to chunk hash property. Its possible?

  "app.js": {
    "src": "build/js/app.mim.js",
    "chunkhash": "aeac44bb018a85386978"
    "integrity": "sha384-JcnPQPUWAADLlNOBv9MSixuv/fv43CHqBk5QEvIHk3/AGFVsg9e2oaUcWxp02WC2"
  },

Thank You!

@webdeveric
Copy link
Owner

@dkrnl There might be additional info relating to the chunkhash and/or contenthash stored in asset.info. These extra properties may or may not exist depending on your webpack configuration. To see what is available, you can try this:

new WebpackAssetsManifest({
  customize(_entry, _original, _manifest, asset) {
    console.log({ info: asset?.info });
  },
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants