Skip to content

Commit

Permalink
fix(browserslist): rename browsers option to overrideBrowserslist for…
Browse files Browse the repository at this point in the history
… postcss

references postcss/autoprefixer#1216
  • Loading branch information
landonreed committed Jul 12, 2019
1 parent fb2a38e commit c1418cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/css-transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const postcssPresetEnv = require('postcss-preset-env')
const postcssReporter = require('postcss-reporter')
const postcssSafeParser = require('postcss-safe-parser')

const browsers = require('./constants').BROWSER_SUPPORT
const overrideBrowserslist = require('./constants').BROWSER_SUPPORT
const logger = require('./logger')

module.exports = function ({ config, entry, minify, outfile, watch }) {
Expand All @@ -31,7 +31,7 @@ module.exports = function ({ config, entry, minify, outfile, watch }) {
]
}),
base64ify(process.cwd()),
postcssPresetEnv({browsers})
postcssPresetEnv({overrideBrowserslist})
]

if (minify) {
Expand Down

0 comments on commit c1418cc

Please sign in to comment.