Skip to content

Commit eb0cb4b

Browse files
committed
switched up the implementation
1 parent ea97a3a commit eb0cb4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ const processor = postcss.plugin('modules-extract-imports', function(options) {
3535
selector: `:import("${path}")`,
3636
after: "\n",
3737
nodes: Object.keys(pathImports).map(importedSymbol => postcss.decl({
38-
prop: importedSymbol,
39-
value: pathImports[importedSymbol],
38+
value: importedSymbol,
39+
prop: pathImports[importedSymbol],
4040
before: "\n "
4141
}))
4242
}));

0 commit comments

Comments
 (0)