Gathering detailed insights and metrics for ember-cli-autoprefixer
Gathering detailed insights and metrics for ember-cli-autoprefixer
Gathering detailed insights and metrics for ember-cli-autoprefixer
Gathering detailed insights and metrics for ember-cli-autoprefixer
Automatically run your styles through autoprefixer
npm install ember-cli-autoprefixer
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (82.09%)
HTML (16.98%)
Handlebars (0.52%)
CSS (0.41%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
103 Stars
107 Commits
25 Forks
2 Watchers
15 Branches
14 Contributors
Updated on Nov 22, 2021
Latest Version
2.0.0
Package Id
ember-cli-autoprefixer@2.0.0
Unpacked Size
17.03 kB
Size
5.75 kB
File Count
7
NPM Version
7.15.1
Node Version
16.3.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
27
This addon runs the styles of your Ember CLI-project through Autoprefixer.
To install, run
ember install ember-cli-autoprefixer
This addon first consumes your browser list config from config/targets.js
. This is the browser list for Babel.
You can manually configure what browsers to target for autoprefixer only. Add the target browsers to your package.json
as per https://github.com/browserslist/browserslist#readme, add a .browserslistrc
file, or configure overrideBrowsersList
in ember-cli-build.js
.
1// ember-cli-build.js 2var app = new EmberApp(defaults, { 3 autoprefixer: { 4 overrideBrowserslist: ['IE11'], 5 cascade: false 6 } 7});
This would prefix styles as required by the two latest version of ios, and disable the cascade (see below).
You can disable Autoprefixer by passing in enabled: false
.
Other options would also go here along with overrideBrowserslist
, enabled
and cascade
.
You can read more about these settings and others over on the Autoprefixer page.
Autoprefixer doesn't play well with .css.map
files, but it will work with embedded source maps. This means there are two options.
If you want to disable CSS sourcemaps from ember-cli-sass update ember-cli-build.js
to
1 sassOptions: { 2 // This tells ember-cli-sass to avoid generating the sourcemap file (like vendor.css.map) 3 sourceMap: false 4 }
Alternatively, you may use embedded source maps. So we tell ember-cli-sass
to embed the sourcemaps and then turn on sourcemaps with autoprefixer which will update the embedded sourcemap after adding prefixes.
1 sassOptions: { 2 sourceMap: true, 3 sourceMapEmbed: true 4 }, 5 autoprefixer: { 6 enabled: true, 7 cascade: true, 8 sourcemap: true 9 }
Also note you can optionally disable in production!
1 const envIsProduction = (process.env.EMBER_ENV === 'production'); 2 3 ... 4 5 sassOptions: { 6 sourceMap: !envIsProduction, 7 sourceMapEmbed: !envIsProduction 8 }, 9 autoprefixer: { 10 enabled: true, 11 cascade: true, 12 sourcemap: !envIsProduction 13 }
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
Found 9/21 approved changesets -- score normalized to 4
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
63 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More