Skip to content

Commit 67ffacf

Browse files
committed
start using the append method so that AST is preserved
1 parent bbd1e8c commit 67ffacf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,10 @@ const processor = postcss.plugin( 'modules-extract-imports', function ( options
5656
css.prepend( rule );
5757
}
5858
Object.keys( imports[path] ).forEach( importedSymbol => {
59-
rule.push(postcss.decl( {
59+
rule.append(postcss.decl( {
6060
value: importedSymbol,
6161
prop: imports[path][importedSymbol],
62-
raws: { before: "\n " },
63-
_autoprefixerDisabled: true
62+
raws: { before: "\n " }
6463
} ) );
6564
} );
6665
} );

0 commit comments

Comments
 (0)