Skip to content

Commit

Permalink
browser 🤷‍♂️
Browse files Browse the repository at this point in the history
  • Loading branch information
stamat committed Nov 2, 2023
1 parent 2e3e8b5 commit 58c1857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function sassPathResolver(url, resolvePath, infilePath) {

const pkg = require(path.join(process.cwd(), importPath, 'package.json'))

let style = pkg.sass || pkg.scss || pkg.style || pkg.css || pkg.main
let style = pkg.sass || pkg.scss || pkg.style || pkg.css || pkg.main || pkg.browser
if (!style) return null

if (!Array.isArray(style)) {
Expand Down

0 comments on commit 58c1857

Please sign in to comment.