jakubburkiewicz / uncss-brunch Goto Github PK
View Code? Open in Web Editor NEW[unmantained] UnCSS support for Brunch
License: MIT License
[unmantained] UnCSS support for Brunch
License: MIT License
I'm setting up uncss-brunch with Travis on a test project. brunch build works well locally, but when I push changes, the build on Travis fails. The error line reads:
18 Apr 22:38:59 - error: UnCSS: Configuration missed.
Any ideas on what may be wrong, or how may I debug this?
Hi, I'm trying to use it on my project, but it can't find files because of my digest-brunch plugin which change filenames...
error: Optimizing of dist/css/css.css failed. UnCSS: expected a callback
Here my dist tree :
dist
├── css
│ └── vendors-5338fe75.css
├── index.html
└── js
├── js-3a8da863.js
└── vendors-f1d3ed69.js
Notice that the number will change on any modification
Any idea?
hi, thanks for this brunch plugin.
can't seem to get it running however. Disclaimer: I never used uncss before in any setting (grunt,...).
my site structure is as follows (including the built directory public
):
root/
|-app/
|--assets/
|---index.html
|---landing-01.html
|--styles/
|---style.less
|-public/
|--index.html
|--landing-01.html
|--stylesheets/
|---style.css
|-vendor/
|--styles/
|---bootstrap.css
|---icon-font.css
Assuming uncss-brunch runs solely on the command brunch build -production
, how should I configure the plugin when:
*I use LESS
*my distribution directory is /public
*my final compiled/built CSS file is located in /public/stylesheets
*my brunch setup concatenates css files from the vendor/
folder with my main compiled style.less file
I'm trying this configuration, but it doesnt work.
plugins:
uncss:
options:
csspath: 'stylesheets'
htmlroot: 'public'
files: ['index.html', 'landing-01.html']
perhaps I'm getting the mechanics of the plugin wrong?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.