Files
Benjamin Woodruff ea927b583d Turbopack: Improve the description on InvalidLoaderRuleConditionIssue (#87008)
It's near-impossible to get this to error on the Rust side (issues are caught before we get here), but I hacked up the code to make it error. It looks like this:

![Screenshot 2025-12-09 at 4.39.24 PM.png](https://app.graphite.com/user-attachments/assets/796b5efa-b2e5-4a9c-bcf3-03cee0a0861d.png)
2025-12-12 12:51:14 -08:00

14 lines
199 B
JavaScript

module.exports = {
turbopack: {
rules: {
"*.svg": {
loaders: ["@svgr/webpack"],
as: "*.js",
condition: {
path: /abc/,
},
},
},
},
};