Uh oh!
There was an error while loading. Please reload this page.
refactor(server): move filename option from createConfig to API - #2113
refactor(server): move filename option from createConfig to API#2113knagaitsev wants to merge 3 commits into
Conversation
Codecov Report
@@ Coverage Diff @@## master #2113 +/- ##
==========================================
+ Coverage 92.56% 92.58% +0.01%
==========================================
Files 33 33 Lines 1265 1268 +3 Branches 361 363 +2 ==========================================
+ Hits 1171 1174 +3
Misses 87 87 Partials 7 7
Continue to review full report at Codecov.
|
alexander-akait
commented
Jul 10, 2019
/cc @hiroppy what do you think? |
I think we solve this issue just by moving to |
knagaitsev
commented
Jul 10, 2019
The only reason for the util is to make testing easier. I was following the style that I did here: #2099. However, I'm not convinced these things really belong in A more uniform idea that I have is:I make a helper |
knagaitsev
commented
Jul 23, 2019
/cc @evilebottnawi@hiroppy I switched to using Do you think I should proceed by working through these options one PR at a time, or by moving many in 1 PR? |
hiroppy
commented
Jul 27, 2019
I'm fine either way. How much is the amount of changes? |
knagaitsev
commented
Aug 2, 2019
@hiroppy Sorry for late response. I'm essentially just moving everything from |
knagaitsev
commented
Aug 6, 2019
closing in favor of #2174 |
For Bugs and Features; did you add new tests?
Yes
Motivation / Use-Case
Move default fallback of
options.filenameout ofcreateConfig, sincecreateConfigis only used on the CLI.Breaking Changes
If
filenameis not set, it will now default to the compiler'soptions.output.filename. However, havingfilenameset will have no effect unlesslazyis enabled, so this should not break anything. Does this warrant moving this tonext?Additional Info