grunt-contrib-cssmin Questions

6

I am using cssmin on files containing @imports. cssmin is recursively importing local files correctly, but for imports that point to a URL the imports are left inline. This makes the resulting mini...

2

Solved

Im using cssmin to minify css files. my config like this: module.exports = function(grunt) { grunt.config.set('cssmin', { site: { src: ['.tmp/public/concat/site.css'], dest: '.tmp/public/min...
Giddy asked 7/1, 2015 at 18:3

4

My project is a pretty basic yo/angular project. I have the following cssmin config. useminPrepare: { html: '<%= yeoman.app %>/index.html', options: { dest: '<%= yeoman.dist %>', ...
Phytogenesis asked 26/5, 2016 at 2:16

2

I use Grunt to build my project and cssmin task inside. My CSS file contains a remote @import statements and grunt build return a warning: Running "cssmin:generated" (cssmin) task >> Ignorin...
Dwarf asked 17/6, 2015 at 9:53

2

Solved

I have three files: 'selectize.default.css' 'selectize.pagination.css' 'selectize.patch.css' and I want to minimize them. Here is my gruntfile: cssmin: { min: { files: [{ expand: true, cwd...
Codger asked 22/4, 2015 at 1:24

1

This is my Gruntfile.js (assets is the Bower folder): module.exports = function(grunt) { grunt.initConfig({ distFolder: 'dist', pkg: grunt.file.readJSON('package.json'), concat: { options: { ...
Riess asked 1/4, 2014 at 16:38

1

Solved

I am trying out cssmin for Grunt According to the docs targets can be defined "according to the grunt Configuring tasks guide." When I create a cssmin task using that pattern, like: cssmin: { my...
Kopp asked 23/5, 2013 at 19:38
1

© 2022 - 2024 — McMap. All rights reserved.