mct-rewrite-css-url-paths

0.0.5 • Public • Published

mct-rewrite-css-url-paths

Overview

This mimosa-combine transform package will rewrite relative url paths for images to account for the fact that mimosa-combine can break relative paths.

For information on mimosa-combine transforms, checkout the mimosa-combine repo.

Installation

From the root of your Mimosa project, type npm install mct-rewrite-css-url-paths --save

Usage

Add this module as a combine transform in the mimosa-config file.

combine: {
    folders: [
      {
        transforms: [
          require('mct-rewrite-css-url-paths')
        ]

Testing

Run npm test to execute test suite.

/mct-rewrite-css-url-paths/

    Package Sidebar

    Install

    npm i mct-rewrite-css-url-paths

    Weekly Downloads

    1

    Version

    0.0.5

    License

    MIT

    Last publish

    Collaborators

    • gtb104