Code Monkey home page Code Monkey logo

Comments (3)

roboshoes avatar roboshoes commented on September 27, 2024

Hey there, thanks for the input. I haven't worked on this plugin in a while. I believe it works with the built in globbing expansion of grunt so far. I have to look into expanding it to this.

I appreciate the feedback!

from grunt-shared-config.

AtiX avatar AtiX commented on September 27, 2024

You're right - I played around with it and at least input wildcards give good results when exporting for one destination file type (e.g. json in this case):

files: [{
  src: 'config/*.yml'
  dest: 'config/'
  expand: true
  ext: '.json'
}]

Unfortunately you have to repeat this config for each extension, since the ext field does not seem to support patterns - at least what I tried. But I guess this is more a grunt issue than an issue of this plugin.

from grunt-shared-config.

roboshoes avatar roboshoes commented on September 27, 2024

Thanks for the update. I'd rather not move away from the built-in globbbing system from Grunt for a whole slur of reasons. If you can make it work somehow like this, all the better.
👍 Happy Coding!!

from grunt-shared-config.

Related Issues (9)

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.