-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
refactor(server): move publicPath changes from CLI to API #2099
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
Conversation
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
lib/Server.js
Outdated
@@ -59,6 +60,8 @@ class Server { | |||
this.compiler = compiler; | |||
this.options = options; | |||
|
|||
setPublicPath(compiler, options); |
There was a problem hiding this comment.
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
Because opn was renamed to open.
04f3b1a
to
ed0050e
Compare
Closing in favor of #2174 |
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 lastnext
rebase, but it should be easy to deal with.