Naivete Precedes Misrepresentation

    postcss-baseurl

    0.0.2 • Public • Published

    PostCSS Baseurl Build Status

    PostCSS plugin for add baseurl to absolute url assets.

    .foo {
      background: url('/image.png')
    }
    .foo {
      background: url('/mobile/image.png')
    }

    Usage

    postcss([
      require('postcss-baseurl')({
        base: '/mobile'
      })
    ])

    See PostCSS docs for examples for your environment.

    Install

    npm i postcss-baseurl

    DownloadsWeekly Downloads

    8

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • chemzqm