Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with css from angular-toastr #38

Open
dgrubelic opened this issue Sep 29, 2016 · 0 comments
Open

Problem with css from angular-toastr #38

dgrubelic opened this issue Sep 29, 2016 · 0 comments

Comments

@dgrubelic
Copy link

Hi there,

i have this gulp setup to compile all bower libraries into one big css:

var gulp = require('gulp');
var mainBowerFiles = require('gulp-main-bower-files');
var concatCss = require('gulp-concat-css');
var gulpFilter = require('gulp-filter');
var uglifycss = require('gulp-uglifycss');
var plumber = require('gulp-plumber');

function errorHandler(err) {
  console.error(err);
}

gulp.task('libraries.css', function () {
  var filterCSS = gulpFilter('**/*.css', { restore: true });
  gulp.src('./bower.json')
    .on('error', errorHandler)
    .pipe(plumber(errorHandler))
    .pipe(mainBowerFiles())
    .pipe(filterCSS)
    .pipe(concatCss('libs.css'))
    .pipe(uglifycss())
    .pipe(gulp.dest('./public/styles'))
});

The problem is with angular-toastr who's css file contains base64 encoded image as background.

https://github.com/Foxandxss/angular-toastr
https://github.com/Foxandxss/angular-toastr/blob/master/dist/angular-toastr.css

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants