Comments (6)
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.
Thanks a lot!
from breakfast.
I down-graded and this is working for me now also. Does anyone know if this is still the only solution?
from breakfast.
@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.
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.
@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)
- Production issues HOT 4
- Vue Config Docs missing step. HOT 1
- Sass HOT 3
- ubuntu auto reload not working HOT 11
- ActiveRecord::AdapterNotSpecified: 'staging' database is not configured. HOT 12
- Livereload for slim/haml/rb HOT 4
- Incorrect Guidelines for Elm in Web page HOT 1
- Wrong Doc: asset_output_folder HOT 1
- No Bottom bar or livereload on macOS HOT 3
- Opal?
- assets:precompile runs before breakfast:assets:compile HOT 8
- Add digests / fingerprints to production assets
- Can Breakfast/Brunch co-exist with Sprockets? HOT 2
- Pull in runtime errors from developer tools
- yarn HOT 1
- Will not run on puma server HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from breakfast.