Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackzzila committed May 10, 2017
1 parent 6a64e2e commit e1ff8d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/functions/compile/sass.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ module.exports = (file, options) => new Promise((resolve) => {

const importers = packages.filter(o => !!o.importer).map(o => require(path.join(process.cwd(), 'diamond/packages', o.path, o.importer)))
.concat(
packageJson.sass && packageJson.sass.importer ?
[require(path.join(process.cwd(), packageJson.sass.importer))] :
packageJson && packageJson.importer ?
[require(path.join(process.cwd(), packageJson.importer))] :
[]
);

Expand Down

0 comments on commit e1ff8d4

Please sign in to comment.