0.0.8 • Published 5 years ago

@yapplabs/ember-cli-base64-css v0.0.8

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

ember-cli-base64-css

An ember-cli addon for converting asset urls to base64 strings

Install

ember install @yapplabs/ember-cli-base64-css

Usage

Example with default options in your Ember CLI ember-cli-build.js.

var app = new EmberApp({
   base64CSS: {
    enabled: true
  , fontPath: 'public'
  , imagePath: 'public'
  , maxFileSize: 4096 // larger files will be left untouched
  , extensions: ['css']
  , fileTypes: ['png', 'jpg', 'jpeg', 'gif', 'svg']
  }
});

If you are fine with the default options, there is no need to configure anything in ember-cli-build.js.

For info on these options, see broccoli-base64-css.