Skip to content

Commit 9861d07

Browse files
committed
📝 Include calculateForAST in subpath exports example
1 parent 1eae90c commit 9861d07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ All static methods the `Specificity` class exposes are also exported as standalo
120120
If you're only interested in including some of these functions into your project you can import them from their Subpath. As a result, your bundle size will be reduced greatly _(except for including the standalone `calculate`, as it returns an array of `Specificity` instances that relies on the whole lot)_
121121

122122
```js
123-
import { calculate } from '@bramus/specificity/core';
123+
import { calculate, calculateForAST } from '@bramus/specificity/core';
124124
import { compare, equals, greaterThan, lessThan } from '@bramus/specificity/compare';
125125
import { min, max } from '@bramus/specificity/filter';
126126
import { sortAsc, sortDesc } from '@bramus/specificity/sort';

0 commit comments

Comments
 (0)