Skip to content

odoe/ember-cli-autoprefixer

 
 

Repository files navigation

Autoprefixer for Ember CLI Build Status

This addon runs the styles of your EmberCLI-project through autoprefixer.

Install

To install, run

ember install ember-cli-autoprefixer

Options

You can configure what browsers to target and other options by specifying them in your Brocfile.js. An example:

var app = new EmberApp({
  autoprefixer: {
    browsers: ['last 2 ios version'],
    cascade: false
  }
});

This would prefix styles as required by the two latest version of ios, and disable the cascade (see below). The default value for browsers are ['> 1%', 'last 2 versions', 'Firefox ESR', 'Opera 12.1'].

You can disable autoprefixer by passing in enabled: false.

Other options, such as cascade and sourcemap would also go here along with browsers.

You can read more about this setting and others over on the autoprefixer page and/or the page for broccoli-autoprefixer.

References

About

Automatically run your styles through autoprefixer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 75.2%
  • HTML 23.3%
  • Other 1.5%