Skip to content

Commit a5f07e0

Browse files
committed
release: 0.4.4 (fix css build)
1 parent 3e2a500 commit a5f07e0

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

bun.lockb

0 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dialectlabs/blinks",
3-
"version": "0.4.4",
3+
"version": "0.4.5",
44
"license": "Apache-2.0",
55
"private": false,
66
"sideEffects": true,

postcss.config.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
let prefixOverrideList = ['html', 'body'];
2+
const selectorIgnoreList = [
3+
'.blink',
4+
'.x-dark',
5+
'.x-light',
6+
'.dial-light',
7+
'.custom',
8+
];
29

310
export default {
411
plugins: {
@@ -8,7 +15,10 @@ export default {
815
prefix: '.blink',
916
includeFiles: ['index.css'],
1017
transform: function (prefix, selector, prefixedSelector) {
11-
if (selector.startsWith('.blink')) {
18+
const shouldIgnore =
19+
selectorIgnoreList.filter((ignore) => selector.startsWith(ignore))
20+
.length > 0;
21+
if (shouldIgnore) {
1222
return selector;
1323
}
1424
if (prefixOverrideList.includes(selector)) {

0 commit comments

Comments
 (0)