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
Build failure from possible new release #7902
Comments
As of version 4.6.0, swagger-ui is now built using webpack 5. If you are also using webpack 5 (which no longer includes node polyfills), you may need to include them. In our case, after upgrading to v4.6.0 we had to install resolve: {
fallback: {
stream: require.resolve(‘stream-browserify’)
}
},
plugins: [
new webpack.ProvidePlugin({
‘buffer’: [‘Buffer’, ‘buffer’]
})
] |
Downgraded to 4.5.2 in the mean time in order to figure this out |
I've produced #7946 which should remedy this issue completely. No |
Hi and thanks for the great work
We are running "swagger-ui": "^4.1.3",
We are noticing this error in our build logs
We had this working a few hours before build.
The text was updated successfully, but these errors were encountered: