Skip to content

Conversation

@cap-Bernardito
Copy link
Contributor

@cap-Bernardito cap-Bernardito commented Aug 13, 2020

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

Merges configuration parameters with passed parameters (passed parameters overwrite the configuration)

Breaking Changes

Сonfig files are loaded by default and combined with passed options.
To reverse this behavior, you must specify config:false

Additional Info

  • replace import-cwd package on require;
  • allow pass plugins in object format plugins: {'postcss-short': { prefix: 'x' }}
  • combines configuration plugins with the passed parameters (if you need to cancel config loading, you must specify config:false)

@codecov
Copy link

codecov bot commented Aug 13, 2020

Codecov Report

Merging #441 into master will increase coverage by 1.53%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #441      +/-   ##
==========================================
+ Coverage   95.67%   97.20%   +1.53%     
==========================================
  Files           6        5       -1     
  Lines         208      179      -29     
  Branches       64       48      -16     
==========================================
- Hits          199      174      -25     
+ Misses          9        5       -4     
Impacted Files Coverage Δ
src/index.js 97.18% <100.00%> (+4.68%) ⬆️
src/utils.js 96.42% <100.00%> (-0.28%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e7c5837...1e4cd69. Read the comment docs.

@alexander-akait alexander-akait merged commit 0eb5aaf into master Aug 14, 2020
@alexander-akait alexander-akait deleted the feat-merge-options branch August 14, 2020 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants