Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bezoerb committed Jun 6, 2021
1 parent 47263bb commit 76a0dd9
Show file tree
Hide file tree
Showing 3 changed files with 1,919 additions and 11,522 deletions.
8 changes: 3 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ const loop = (cb) => {
module.exports = postcss.plugin('postcss-image-inliner', (options_ = {}) => {
const options = {...DEFAULTS, ...options_};

if (Array.isArray(options.assetPaths)) {
options.assetPaths = [...options.assetPaths, process.cwd()];
} else {
options.assetPaths = [options.assetPaths, process.cwd()];
}
options.assetPaths = Array.isArray(options.assetPaths)
? [...options.assetPaths, process.cwd()]
: [options.assetPaths, process.cwd()];

return async (css) => {
const urls = new Set([]);
Expand Down
Loading

0 comments on commit 76a0dd9

Please sign in to comment.