Skip to content

postcss-url-rebase

A PostCSS plugin for url() rebasing before import.

Install

sh
npm i -D @chialab/postcss-url-rebase
sh
yarn add -D @chialab/postcss-url-rebase
sh
pnpm add -D @chialab/postcss-url-rebase

Usage

ts
import postcss from 'postcss';
import urlRebase from '@chialab/postcss-url-rebase';

postcss([
    urlRebase(),
]).process(...);

Released under the MIT License.