Giter Club home page Giter Club logo

Comments (6)

mydea avatar mydea commented on May 30, 2024

Also see: kimroen/ember-cli-autoprefixer#34

from ember-cli-postcss.

jeffjewiss avatar jeffjewiss commented on May 30, 2024

@mydea thanks for submitting this! Yeah, I think this is a great idea. After reading over the article and other repo you mentioned, I think it would make sense to add project.target.browsers to each plug-in's base options object as options.browsers, which could then be overridden on a per plug-in basis and should follow the formatting expected by a plug-in like autoprefixer.

Does that sounds like what you had in mind? Is there anything I'm missing?

Cheers, thanks!

from ember-cli-postcss.

mydea avatar mydea commented on May 30, 2024

Yes, that sounds perfect!

from ember-cli-postcss.

jeffjewiss avatar jeffjewiss commented on May 30, 2024

@mydea would you be able to help me test this? I have this ready on the branch support-project-targets with updates to the underlying broccoli plugins. Having another set of eyes on this would be a big help. Thanks!

from ember-cli-postcss.

mydea avatar mydea commented on May 30, 2024

Awesome, I tried it out with the branch, and it seemed to work just fine!

from ember-cli-postcss.

jeffjewiss avatar jeffjewiss commented on May 30, 2024

@mydea thanks for the help! I've published this as V3.4.1, which should support using config/target.js and overriding the options in compile, filter and on a per plugin basis.

Please open a new issue if there are any bugs with this. Thanks!

from ember-cli-postcss.

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.