# gulp-true-rebase

> Rebase CSS assets urls to relative paths and copy assets

Latest version **1.0.3** (published 2019-06-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-true-rebase
pnpm add gulp-true-rebase
yarn add gulp-true-rebase
bun add gulp-true-rebase
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2019-06-03 |
| First published | 2019-01-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 16.1 KB |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| Author | Sergey Kazarinov |
| Maintainers | serkaz |
| Keywords | gulp, gulp-css, gulp-rebase-css, rebase, rebase-css, rebase-url |

## Links

- npm: https://www.npmjs.com/package/gulp-true-rebase
- npm.io page: https://npm.io/package/gulp-true-rebase

## Dependencies (10)

- [fs](https://npm.io/package/fs.md) 0.0.1-security
- [md5](https://npm.io/package/md5.md) ^2.2.1
- [path](https://npm.io/package/path.md) ^0.12.7
- [merge](https://npm.io/package/merge.md) ^1.2.0
- [cssurl](https://npm.io/package/cssurl.md) ^1.3.0
- [mkpath](https://npm.io/package/mkpath.md) ^1.0.0
- [rework](https://npm.io/package/rework.md) ^1.0.1
- [through2](https://npm.io/package/through2.md) ^0.6.5
- [file-exists](https://npm.io/package/file-exists.md) ^2.0.0
- [rework-plugin-url](https://npm.io/package/rework-plugin-url.md) ^1.1.0

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.0.3 (latest) — 2019-06-03
- 1.0.2 — 2019-03-20
- 1.0.1 — 2019-03-20
- 1.0.0 — 2019-01-10

## README

# gulp-true-rebase

A [gulp](http://gulpjs.com/) plugin that rebase paths in CSS and transfer fonts and images from node_modules and root directories to public assets directories.

## Install

```
$ npm install gulp-true-rebase
```

## Usage

```js
const gulp = require('gulp');
const rebase = require('gulp-true-rebase');

gulp.task('default', () =>
	gulp.src('src/*.css')
		.pipe(rebase({
		    output_css: 'public/assets/css',
		    output_assets: 'public/assets'
		}))
		.pipe(gulp.dest('public/assets/css'))
);
```

### Options
- `output_css` - Directory where css will be saved.
- `output_assets` - Parent assets directory  (will contain img and fonts directories).

---
_Source: https://npm.io/package/gulp-true-rebase · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
