Code Monkey home page Code Monkey logo

Comments (6)

PatKoperwas avatar PatKoperwas commented on August 18, 2024 4

Hey @meneerprins I ran into the same issue. Here's how to get it working (with SCSS support).

Install the postcss-brunch plugin and Autoprefixer with:

npm install --save-dev postcss-brunch autoprefixer

Now, apparently there is an issue with the latest version of the plugin. So once it finishes installing open package.json and change the line

"postcss-brunch": "^2.0.5",

to

"postcss-brunch": "~0.5.0",

That will downgrade the package to a version that works.

Then enable the plugin in your brunch-config but adding the following into the plugins section:

postcss: {
    processors: [
      require('autoprefixer')(['last 8 versions']),
      require('csswring')()
    ]
  }

The documentation for the plugin has more info if you need it.

Hopefully that resolves your issue!

from breakfast.

meneerprins avatar meneerprins commented on August 18, 2024

Thanks a lot!

from breakfast.

ryan-mahoney avatar ryan-mahoney commented on August 18, 2024

I down-graded and this is working for me now also. Does anyone know if this is still the only solution?

from breakfast.

PatKoperwas avatar PatKoperwas commented on August 18, 2024

@ryan-mahoney for the time being looks like yes it is. There seems to be quite a bit of work being done however so this should get resolved eventually.

Check out the links referenced in brunch/brunch#1619 (comment) for a bit more detail / progress

from breakfast.

meneerprins avatar meneerprins commented on August 18, 2024

I just implemented breakfast/brunch into a pretty big webapp and I really like it, still got an issue with postcss and sourcemaps, anyone knows how to fix that?

from breakfast.

PatKoperwas avatar PatKoperwas commented on August 18, 2024

@meneerprins feel free to open an issue detailing what the issue is or shoot me email [email protected].

I am happy to take a look and help debug.

from breakfast.

Related Issues (17)

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.