Skip to content

stefanpenner/ember-cli-base64-css

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ember-cli-base64-css

An Ember Addon to convert asset urls to base64 strings

Install

npm install --save-dev ember-cli-base64-css

Usage

Example with default options in your Ember CLI Brocfile.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 Brocfile.js.

About

Ember Addon to convert image paths to base64 strings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%