Skip to content

Commit 936b0b8

Browse files
authored
docs: Update link to node_modules Block resolution feature ticket.
1 parent ca0d722 commit 936b0b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ Adding a `@block-reference` is as simple as this:
321321

322322
> 🔮 **Future Feature: Node Modules Block Resolution **
323323
>
324-
> Whether you're integrating with a 3rd party library, or pulling in dependencies internal to your company, at some point you'll want to integrate with styles delivered via NPM! The resolution logic for `@block-reference`s to `node_modules` hasn't yet been implemented yet, but you can track progress (or even help out!) [over on Github]().
324+
> Whether you're integrating with a 3rd party library, or pulling in dependencies internal to your company, at some point you'll want to integrate with styles delivered via NPM! The resolution logic for `@block-reference`s to `node_modules` hasn't yet been implemented yet, but you can track progress (or even help out!) [over on Github](https://github.com/linkedin/css-blocks/issues/112).
325325
326326
With the above code, `block-2` now has a local reference `other-block` which points to `block-1`. We can now freely use the `other-block` identifier inside of `block-2` when we want to reference reference `block-1`. This comes in handy! Especially with features like:
327327

@@ -696,7 +696,7 @@ on an external selector are not detected or resolved. As a result, it is allowed
696696
Warning: If external selectors and CSS block objects both target the same HTML element in their key selectors you will get unpredictable results. It's best to avoid this.
697697

698698
```css
699-
@external h2 .some-rando-class;
699+
@external h2.some-rando-class;
700700

701701
.foo h2.some-rando-class {
702702
font-size: 32px !important;

0 commit comments

Comments
 (0)