next.js
5889fe57 - Turbopack: RuleCondition support resourceQuery contains (#83468)

Commit
96 days ago
Turbopack: RuleCondition support resourceQuery contains (#83468) ## What? In utoopack, we have the situation to match modules with query like following case: ```ts import styles from './index.less?modules'; ``` To deal the case above into css modules(other case the same), so i need to use the rule condition to match the module with query like: ```rust RuleCondition::ResourceQueryContains { extension: ".less".into(), query: "?modules".into(), }, ```
Author
Parents
Loading