Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Grunt aborting with warnings when running on Windows env #7

Open
egpierro opened this issue Apr 8, 2014 · 4 comments
Open

Grunt aborting with warnings when running on Windows env #7

egpierro opened this issue Apr 8, 2014 · 4 comments

Comments

@egpierro
Copy link

egpierro commented Apr 8, 2014

No description provided.

@ghost
Copy link

ghost commented Aug 15, 2014

I'm getting Running "cssUrlRewrite:dist" (cssUrlRewrite) task
Warning: File D:\WebstormProjects\kks\node_modules\grunt-css-url-rewrite\tasks\lib..\img\intro-bg.jpg does not exist� Use --force to continue.

    cssUrlRewrite: {
        dist: {
            src: "dist/assets/site.min.css",
            dest: "dist/assets/site.min.css",

            options: {
                baseDir:"..\\",
                skipExternal: true,
                rewriteUrl: function (url, options, dataURI) {
                    var path = url.replace(options.baseDir, '');
                    return url.split('/').pop()
                }
            }
        }
    },
    cssmin: {
        options: {
           // root: 'dist', // Not needed for me
            relativeTo:'./'
        },
        combine: {
            files: {
                'dist/assets/site.min.css': ['web/assets/css/*.css']
            }
        }
    },

@pgayvallet
Copy link

Got the same issue on a linux environement. Though the plugin was supposed to REWRITE urls, not encode them to base64 without the possibility to disable this in the configuration.... too bad.

@saravanakumard
Copy link

Same issue in Windows..I assume it should work in linux..

@Detzler
Copy link

Detzler commented Apr 12, 2018

confirm

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

No branches or pull requests

4 participants