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

webpack-manifest-plugin support #2196

Closed
minoritea opened this issue Mar 13, 2023 · 7 comments
Closed

webpack-manifest-plugin support #2196

minoritea opened this issue Mar 13, 2023 · 7 comments
Assignees
Labels
contrib: medium feat New feature or request

Comments

@minoritea
Copy link

We are using webpack-manifest-plugin to generate manifest.json, but this plugin causes a runtime error with rspack.

Error: napi error: GenericFailure - Error: processAssets hook uses custom stage number is not supported.

We are using manifest.json only to get the mapping of file names with fingerprints and original file names.

Do you have any plans to support this plugin? I'm fine with any other workaround if there is one.

@hardfist
Copy link
Contributor

i investigate the implementation and find it relyes on lots of api we dont support yet, we are gonna provide workaround for it

@hardfist
Copy link
Contributor

you can use rspack-manifest-plugin in rspack@nightly now, see example here https://github.com/web-infra-dev/rspack/blob/main/examples/plugin-compat/rspack.config.js#L65

@hardfist
Copy link
Contributor

@minoritea can you help check whether rspack-manifest-plugin works for you

@hardfist
Copy link
Contributor

closing as has workaround, if anyone met problem again feel free to reopen it

@minoritea
Copy link
Author

I'm sorry, I didn't notice the mention and the reply was late.
I'm very happy that the plugin has been implemented!
I'll check later if it works as expected in our application.

@piotrpalek
Copy link

I have explored rspack and this does not work for our app, the build crashes with a SIGFAULT in our case

@zackarychapple
Copy link
Collaborator

@hardfist looking at this it looks like with what the team has added with normal module maybe the rspack-manifest-plugin can get revisited?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contrib: medium feat New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants