borodean / postcss-assets

An asset manager for PostCSS
MIT License
537 stars 32 forks source link

How to use postcss-assets without special name `resolve` in css-files? #62

Open hvab opened 8 years ago

hvab commented 8 years ago

For example:

body {
  background: url('foobar.jpg');
  background: url('icons/baz.png');
}

convert to

body {
  background: url('/media/patterns/foobar.jpg');
  background: url('/images/icons/baz.png');
}

without resolve.

artemjackson commented 4 years ago

No answer for 4 years ?! O_O

artemjackson commented 4 years ago

PR is here https://github.com/borodean/postcss-assets/pull/65