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 99
1010jobs :
1111 publish-npm :
12- needs : build
1312 runs-on : ubuntu-latest
1413 steps :
1514 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ const buildFlattenedSelectors = (rule) => {
6666 *
6767 * This plugin essentially flattens nested selectors in a manner similar to SASS.
6868 */
69- const unwrapNestedSelectors = ( ) => ( {
69+ export const unwrapNestedSelectors = ( ) => ( {
7070 postcssPlugin : 'unwrap-nested-selectors' ,
7171 OnceExit ( root ) {
7272 // Iterate through all style rules in the AST.
@@ -97,4 +97,3 @@ const unwrapNestedSelectors = () => ({
9797 } ,
9898} ) ;
9999
100- module . exports = { unwrapNestedSelectors } ;
Original file line number Diff line number Diff line change 33 "version" : " 1.0.0" ,
44 "description" : " A small PostCSS plugin to unwrap nested CSS selectors" ,
55 "main" : " index.js" ,
6+ "type" : " module" ,
67 "scripts" : {
78 "test" : " echo \" Error: no test specified\" && exit 1"
89 },
You can’t perform that action at this time.
0 commit comments