Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

feat(conf): Adds support for webpack configurations exported as functions #54

Closed
wants to merge 2 commits into from

Conversation

BRKalow
Copy link

@BRKalow BRKalow commented Nov 14, 2017

Webpack configurations can be exported as functions, but this plugin wasn't handling that. I've added a check within the plugin to invoke conf if it is of type function. (fixes #47)

I also renamed webpack.multicompile.js to webpack.multicompile.config.js so the eslint ignore comments could be removed.

Thanks!

@codecov-io
Copy link

codecov-io commented Nov 14, 2017

Codecov Report

Merging #54 into master will increase coverage by 0.12%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #54      +/-   ##
=========================================
+ Coverage   94.38%   94.5%   +0.12%     
=========================================
  Files           1       1              
  Lines          89      91       +2     
=========================================
+ Hits           84      86       +2     
  Misses          5       5
Impacted Files Coverage Δ
src/index.js 94.5% <100%> (+0.12%) ⬆️

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 cb486b7...1fd34aa. Read the comment docs.

@aychtang aychtang self-assigned this Nov 14, 2017
@gixo
Copy link

gixo commented Dec 6, 2019

I am closing this pull request due to inactivity.
Let me know if needs to be reopened. @BRKalow @aychtang

@gixo gixo closed this Dec 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Webpack 2: No config found when config is a function
4 participants