Code Monkey home page Code Monkey logo

Comments (5)

alexgorbatchev avatar alexgorbatchev commented on June 12, 2024 3

Without node_modules excluded I think this plugin isn't very useful. I think majority of builds using webpack would be pulling files in from node_modules.

from prettier-webpack-plugin.

hawkins avatar hawkins commented on June 12, 2024

No plans for this yet, but that sounds like a decent idea to me!

I think it's best to offer an option to exclude processing files in certain directories, that way we don't break backwards compatibility. We can default to ["node_modules"] or whatever syntax works with our implementation. 👍

from prettier-webpack-plugin.

hawkins avatar hawkins commented on June 12, 2024

I certainly still find use in it, but I totally agree. It needs to happen, but I'm in my last semester of university, working full time, and preparing to move across the country in a couple months. So, I'm pretty much shot for time to work on open source. :(

I'm pretty sure this would be an easy task, and I welcome any method of solving it if anyone is interested to try.

from prettier-webpack-plugin.

darknblack avatar darknblack commented on June 12, 2024

Is there any update for exclude feature?

from prettier-webpack-plugin.

hawkins avatar hawkins commented on June 12, 2024

Nothing’s happened. I don’t work in web space these days as much as I used to, so I haven’t had the bandwidth to do this myself. Shouldn’t be too complicated if you’d like to take a stab at it yourself and send in a PR :)

from prettier-webpack-plugin.

Related Issues (19)

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.