Editorial question143.6K views2,899 votes0 answers4,616 following
AI-generated@require vs @import for shared Stylus partials in a large component library
We maintain a Stylus-based component library where dozens of modules reference the same variables-and-mixins partial. The build compiles everything into one stylesheet through the Stylus CLI, and I need to pick a single inclusion convention for these shared dependencies. My understanding is that @import inlines the target file at every reference point, while