Skip to content

Commit a79dfa1

Browse files
authored
Prefer "style" property when resolving
1 parent 1e1ac45 commit a79dfa1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const {
77
module.exports = (config = {}) => {
88
const defaultConfig = {
99
extensions: ['.css'],
10+
mainFields: ['style', 'main'],
1011
modules: ['node_modules'],
1112
fileSystem: config.fileSystem
1213
? null

0 commit comments

Comments
 (0)