Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: options variable in apply function #193

Merged
merged 1 commit into from
Oct 25, 2019

Conversation

ktmouk
Copy link
Contributor

@ktmouk ktmouk commented Oct 23, 2019

This PR contains a:

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

Motivation / Use-Case

Fix: #191

Currently, options variable is shallow copy. (const { options } = this)
When webpack has config multiple and file is relative, .join(context, '/', file) will be called multiple times.
So, options.files path is broken.

Breaking Changes

Nothing

Additional Info

@jsf-clabot
Copy link

jsf-clabot commented Oct 23, 2019

CLA assistant check
All committers have signed the CLA.

@codecov-io
Copy link

codecov-io commented Oct 23, 2019

Codecov Report

Merging #193 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #193   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           6      6           
  Lines         102    102           
  Branches       20     20           
=====================================
  Hits          102    102
Impacted Files Coverage Δ
src/index.js 100% <100%> (ø) ⬆️

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 435dd43...488dc2a. Read the comment docs.

@ricardogobbosouza ricardogobbosouza merged commit 3389aec into webpack-contrib:master Oct 25, 2019
@ricardogobbosouza
Copy link
Collaborator

@ktmouk thanks

@abhchand
Copy link

@ktmouk - appreciate the quick turnaround on this PR!

@ktmouk ktmouk deleted the fix-options-var branch October 26, 2019 06:07
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.

styelint throws No files matching the pattern error with multiple exports from webpack.config.js
5 participants