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
assetsDir broken in 11.0.9 with create-react-app #1676
Comments
That's weird that downgrading back doesn't help. Is it possible that it's still cached and you still have the new version? Mind checking changelog to see if we need to upgrade any configuration? A pull request would be awesome 👾 |
@sapegin it's a broken update in copy-webpack-plugin, but not update with make-webpack-config, from |
see with 53bc4bb |
I would like to take a crack at this, if anyone else is not already working. |
Because copy-webpack-pluign was updated, the assetsDir was broken. We need to update the config being passed to the plugin to make it work again. Update the plugin to latest version 6.1.0 and update the config and tests to make it work. Fixes #1676
🎉 This issue has been resolved in version 11.0.11 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Current behavior
After updating to 11.0.9 it is no longer possible to build the styleguide if using assetsDir (which invokes the webpack copy plugin)
To reproduce
styleguideist build
If i remove
assetsDir: 'src/assets/images/',
Then all builds as normal. I noticed webpack copy plugin has been updated to 6.0.x, downgrading this alone to 5.x.x does not fix the issue.
Downgrading styleguidist to 11.0.8 does allow the styleguide to build.
Expected behavior
Styleguide should build
The text was updated successfully, but these errors were encountered: