Closed kevinkace closed 7 years ago
Using postcssUrl({ url : (asset, dir) => {} });
postcssUrl({ url : (asset, dir) => {} });
This works:
/* ./public/css/index.css */ div { background: url(./img/bg.jpg); }
// dir { from: '.', to: '.', file: 'd:\\app\public\css' }
This does not:
/* ./public/css/index.css */ div { background: url(./img/bg.jpg), linear-gradient(to right, red 0%, black 100%); }
// dir { from: '.', to: '.', file: 'd:\\app\public' }
Expected: same as single BG.
My mistake, related to other build things 😶
Using
postcssUrl({ url : (asset, dir) => {} });
This works:
This does not:
Expected: same as single BG.