GithubHelp home page GithubHelp logo

bless-brunch's People

Contributors

bolasblack avatar thomasconner avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

bless-brunch's Issues

crash compiling bower css files

In a brunch config with:

    stylesheets:
      joinTo:
        'styles/app.css': [/^client/, /echidna\/shared/]
        'styles/bowerfiles.css': /^bower_components/

I hit this crash:

  brunch:generate Optimizing '_publish/styles/bowerfiles.css' with 'BlessCompiler' +11s

/Users/wiltzius/Documents/welkin/dugong/node_modules/bless-brunch/lib/index.js:62
        return callback(err, appCssFile.content);
                                       ^
TypeError: Cannot read property 'content' of null
  at /Users/wiltzius/Documents/welkin/dugong/node_modules/bless-brunch/lib/index.js:62:40
  at Object.Parser.parser.parse [as parse] (/Users/wiltzius/Documents/welkin/dugong/node_modules/bless-brunch/node_modules/bless/lib/bless/parser.js:108:13)
  at BlessCompiler.module.exports.BlessCompiler.minify (/Users/wiltzius/Documents/welkin/dugong/node_modules/bless-brunch/lib/index.js:42:19)
  at BlessCompiler.<anonymous> (/Users/wiltzius/Documents/welkin/dugong/node_modules/bless-brunch/lib/index.js:3:59)
  at /Users/wiltzius/Documents/welkin/dugong/node_modules/brunch/lib/fs_utils/generate.js:159:33
  at fn (/Users/wiltzius/Documents/welkin/dugong/node_modules/brunch/node_modules/async-waterfall/index.js:19:24)
  at Object._onImmediate (/Users/wiltzius/Documents/welkin/dugong/node_modules/brunch/node_modules/async-waterfall/index.js:58:22)
  at processImmediate [as _immediateCallback] (timers.js:345:15)

Any ideas? Advice appreciated.

error: "version" is a required argument.

Hello,
I have a probleme when i used "brunch build" in production mode.
Console give the following message :

info: Using outdated versions of bless-brunch, trying to update to match package.json versions
info: compiling
error: "version" is a required argument.

I used brunch in version 2.10.9.

Can you help me fix this bug please ?

no chunks produced

Hello,

Ihope you can help, I have installed bless-brunch but brunch seems to not produce chunked css files…

The count result is 4,179.
When I use the cli manually to chunk, it's working.

I remove clean-css as recommended, and npm up brunch & dependencies…

When I run brunch watch -dfor debug, the plugin loaded line not mention bless-brunch :
brunch:plugins Loaded plugins: eslint-brunch, fb-flo-brunch, less-brunch, postcss-brunch +857ms

Here is the exports.config.plugins section of my brunch-config.js
… plugins: { autoReload : { enabled : { css : false, js: false, assets : false } }, bless: { cacheBuster: true, cleanup: true, compress: true, force: true, imports: true, outputDirectory: './web/css/' // Output directory for blessed css files. }, postcss: { processors: [ require('autoprefixer')(['last 2 versions', 'ie >= 9', 'and_chr >= 2.3']), require('csswring')({ preserveHacks: true }), require('postcss-url')({ url: 'inline', filter: '**/*.svg', maxSize: 5 }), ] } }, …
… and devDependencies in package.json

"devDependencies": { "autoprefixer": "^6.3.7", "bless-brunch": "^1.6.1", "brunch": "^2.8.2", "caniuse-db": "^1.0.30000613", "css-mqpacker": "^5.0.1", "csswring": "^5.1.0", "eslint-brunch": "^3.12.0", "eslint-config-airbnb-base": "^11.1.3", "eslint-plugin-import": "^2.2.0", "fb-flo-brunch": "^1.7.22", "install": "^0.8.4", "javascript-brunch": "^2.0.0", "less-brunch": "^2.6.0", "npm": "^4.1.1", "postcss-brunch": "^0.5.0", "postcss-merge-longhand": "^2.0.2", "postcss-merge-rules": "^2.1.1", "postcss-url": "^5.1.2", "uglify-js-brunch": "^2.0.1" }

Bless v4.0.0-alpha.0 is out

I'm reaching out to let you know that we just published Bless v4.0.0-alpha.0. There are some performance improvements and recently added source map support. Please feel free to check it out and provide any feedback as we prepare the final release. Take note that the bless repo has moved to a new organization and can be found at https://github.com/BlessCSS/bless.

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.