mirror of
https://github.com/vector-im/element-web.git
synced 2025-11-29 06:21:20 +01:00
Prevent direct imports from shared components (#31238)
Because we use the package now so importing directly causes subtle breakage.
This commit is contained in:
parent
f400d8db0a
commit
333bec33ee
@ -167,6 +167,10 @@ module.exports = {
|
|||||||
group: ["@vector-im/compound-design-tokens/icons/*"],
|
group: ["@vector-im/compound-design-tokens/icons/*"],
|
||||||
message: "Please use @vector-im/compound-design-tokens/assets/web/icons/* instead",
|
message: "Please use @vector-im/compound-design-tokens/assets/web/icons/* instead",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
group: ["**/packages/shared-components/**", "../packages/shared-components/**"],
|
||||||
|
message: "Please use @element-hq/web-shared-components",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user