File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
publish-npm :
12
- needs : build
13
12
runs-on : ubuntu-latest
14
13
steps :
15
14
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ const buildFlattenedSelectors = (rule) => {
66
66
*
67
67
* This plugin essentially flattens nested selectors in a manner similar to SASS.
68
68
*/
69
- const unwrapNestedSelectors = ( ) => ( {
69
+ export const unwrapNestedSelectors = ( ) => ( {
70
70
postcssPlugin : 'unwrap-nested-selectors' ,
71
71
OnceExit ( root ) {
72
72
// Iterate through all style rules in the AST.
@@ -97,4 +97,3 @@ const unwrapNestedSelectors = () => ({
97
97
} ,
98
98
} ) ;
99
99
100
- module . exports = { unwrapNestedSelectors } ;
Original file line number Diff line number Diff line change 3
3
"version" : " 1.0.0" ,
4
4
"description" : " A small PostCSS plugin to unwrap nested CSS selectors" ,
5
5
"main" : " index.js" ,
6
+ "type" : " module" ,
6
7
"scripts" : {
7
8
"test" : " echo \" Error: no test specified\" && exit 1"
8
9
},
You can’t perform that action at this time.
0 commit comments