Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-autoprefixer

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-autoprefixer - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

5

CHANGELOG.md

@@ -0,1 +1,6 @@

## master
## 0.7.0
+ Support for the new `targets` feature coming in Ember-CLI 2.13. Read all about it [on @rwjblue's blog](http://rwjblue.com/2017/04/21/ember-cli-targets/). Thanks to [@rwjblue](https://github.com/rwjblue) and [@cibernox](https://github.com/cibernox) for working on it. [#34](https://github.com/kimroen/ember-cli-autoprefixer/pull/34)
## 0.6.0

@@ -2,0 +7,0 @@ + Updated structure to the newest ember-cli project structures [#22](https://github.com/kimroen/ember-cli-autoprefixer/pull/22) and [#29](https://github.com/kimroen/ember-cli-autoprefixer/pull/29)

7

index.js

@@ -9,3 +9,4 @@ /* jshint node: true */

name: 'ember-cli-autoprefixer',
included: function(app, parentAddon) {
included: function(app) {
this.app = app;

@@ -18,8 +19,12 @@

this._super.included.apply(this, arguments);
this.options = defaults(this.app.options.autoprefixer || {}, {
browsers: this.project.targets && this.project.targets.browsers,
enabled: true
});
this.enabled = this.options.enabled;
delete this.options.enabled;
},
postprocessTree: function(type, tree) {

@@ -26,0 +31,0 @@ if ((type === 'all' || type === 'styles') && this.enabled) {

2

package.json
{
"name": "ember-cli-autoprefixer",
"version": "0.6.0",
"version": "0.7.0",
"description": "Process styles in an ember-cli application using Autoprefixer",

@@ -5,0 +5,0 @@ "directories": {

@@ -13,4 +13,5 @@ # Autoprefixer for Ember CLI [![Build Status](https://travis-ci.org/kimroen/ember-cli-autoprefixer.svg?branch=master)](https://travis-ci.org/kimroen/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:
By default ember-cli-autoprefixer passes your projects target browsers (in Ember CLI >= 2.13.0)
to autoprefixer. However, you can manually configure what browsers to target and other options by
specifying them in your `ember-cli-build.js` (or `Brocfile.js`). An example:

@@ -17,0 +18,0 @@ ```js

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc