Code Monkey home page Code Monkey logo

Comments (8)

heldr avatar heldr commented on July 18, 2024

Not yet, but I'm going to improve it.

Thanks!

from grunt-smushit.

shapeshifta78 avatar shapeshifta78 commented on July 18, 2024

\o/ Thumbs up!

from grunt-smushit.

heldr avatar heldr commented on July 18, 2024

Please run npm update grunt-smushit

Thanks

from grunt-smushit.

shapeshifta78 avatar shapeshifta78 commented on July 18, 2024

Works well, but is it possible to copy the file even if there are no optimizations? :)
Would be easier to distribute the whole folder, I think.

from grunt-smushit.

heldr avatar heldr commented on July 18, 2024

Updated :)

from grunt-smushit.

yahreen avatar yahreen commented on July 18, 2024

Was this added? My folder structure is not being retained:

img: {
        task1: {
            src: ['app/assets/img/backgrounds', 'app/assets/img/charts'],
            dest: 'build/assets/img'
        }
}

from grunt-smushit.

heldr avatar heldr commented on July 18, 2024

grunt-smushit doesn't support multiple directories as source yet. An alternative approach is creating 2 tasks

smushit: {
        backgrounds: {
            src: 'app/assets/img/backgrounds',
            dest: 'build/assets/img'
        },
        charts: {
            src: 'app/assets/img/charts',
            dest: 'build/assets/img'
        }
}

Thanks for the feedback

from grunt-smushit.

heldr avatar heldr commented on July 18, 2024

Now it works with multiple source path:
#12

Thanks for the feedback

from grunt-smushit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.