Giter Site home page Giter Site logo

uncss-brunch's People

Contributors

craga89 avatar jakubburkiewicz avatar jburkiewicz avatar ymirpl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

craga89

uncss-brunch's Issues

"error: UnCSS: Configuration missed." on Travis CI

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?

[Request] Bump version and NPM publish

With the merge of PR #4 and #3, can we bump the version and publish to NPM so users can take advantage of the new functionality?

Not sure if this warrants a major release i.e. 2.0.0 since I'm not 100% on what changed in the UnCSS branch from 0.7.4 -> 1.2.0. Perhaps air on the side of caution?

Not working with digest-brunch

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?

How to setup the configuration?

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?

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.