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

refactor(server): move publicPath changes from CLI to API #2099

Closed

Conversation

knagaitsev
Copy link
Collaborator

  • This is a bugfix
  • This is a feature
  • This is a code refactor
  • This is a test update
  • This is a docs update
  • This is a metadata update

For Bugs and Features; did you add new tests?

Not yet

Motivation / Use-Case

Move #2098 to next branch.

Breaking Changes

Yes

Additional Info

The block I deleted from createConfig was changed since the last next rebase, but it should be easy to deal with.

@codecov
Copy link

codecov bot commented Jul 4, 2019

Codecov Report

Merging #2099 into next will increase coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##             next    #2099      +/-   ##
==========================================
+ Coverage   93.57%   93.61%   +0.04%     
==========================================
  Files          33       34       +1     
  Lines        1245     1253       +8     
  Branches      363      366       +3     
==========================================
+ Hits         1165     1173       +8     
  Misses         75       75              
  Partials        5        5
Impacted Files Coverage Δ
lib/utils/createConfig.js 96.22% <ø> (-0.24%) ⬇️
lib/utils/updateCompiler.js 100% <100%> (ø) ⬆️
lib/utils/setPublicPath.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 148dfd5...ed0050e. Read the comment docs.

lib/Server.js Outdated
@@ -59,6 +60,8 @@ class Server {
this.compiler = compiler;
this.options = options;

setPublicPath(compiler, options);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyway, let's move this in updateCompiler

@knagaitsev knagaitsev force-pushed the next-setPublicPath-cli-change branch from 04f3b1a to ed0050e Compare August 2, 2019 22:54
@knagaitsev
Copy link
Collaborator Author

Closing in favor of #2174

@knagaitsev knagaitsev closed this Aug 6, 2019
@knagaitsev knagaitsev added the gsoc Google Summer of Code label Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gsoc Google Summer of Code pr: next
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants