Autoprefixer for Ember CLI
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
ember-cli-build.js
(or Brocfile.js
). An example:
var app = new EmberApp(defaults, {
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 would also go here along with browsers
.
You can read more about this setting and others over on the autoprefixer page.
References