Skip to content

Commit

Permalink
Merge pull request #62 from nighca/master
Browse files Browse the repository at this point in the history
debug node 6.x
  • Loading branch information
nighca authored Jan 22, 2018
2 parents 463fde6 + 10a3eea commit f30051f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
build:
working_directory: ~/workspace
docker:
- image: circleci/node:8.9
- image: circleci/node:6.11
steps:
- checkout
- restore_cache:
Expand Down
9 changes: 4 additions & 5 deletions lib/webpack-config/addons/add-transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,11 @@ const makeReactBabelOptions = babelOptions => {
}

function makePostcssOptions({ autoprefixerOptions }) {
const fixedOptions = {...autoprefixerOptions}
if (!fixedOptions.browsers) {
fixedOptions.browsers = []
}
autoprefixerOptions = utils.extend({
browsers: []
}, autoprefixerOptions)
return {
plugins: () => [autoprefixer(fixedOptions)],
plugins: () => [autoprefixer(autoprefixerOptions)],
ident: 'postcss' // https://github.com/postcss/postcss-loader/issues/281#issuecomment-319089901
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fec-builder",
"version": "1.6.0",
"version": "1.6.1",
"bin": {
"fec-builder": "./bin/fec-builder"
},
Expand Down

0 comments on commit f30051f

Please sign in to comment.