Skip to content

Commit

Permalink
feat: make css vars fallback script work with embedded vars (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladitasev committed Mar 26, 2019
1 parent fcce192 commit 6f590b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/main/config/postcss.bundles/postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const postcssAddFallback = require('../../lib/postcss-add-fallback/index.js');
module.exports = {
plugins: [
postcssImport(),
postcssAddFallback(),
postcssAddFallback(),
]
};

1 change: 1 addition & 0 deletions packages/main/lib/postcss-add-fallback/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ module.exports = postcss.plugin('add fallback plugin', function (opts) {
} else {
params.set(decl.prop, decl.value);
}
params.set(decl.prop, decl.value);
});

// add the importFrom file as dependency so this file is processed again on changes
Expand Down

0 comments on commit 6f590b0

Please sign in to comment.