-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Update to webpack 3 #946
Update to webpack 3 #946
Conversation
Codecov Report
@@ Coverage Diff @@
## master #946 +/- ##
=======================================
Coverage 72.13% 72.13%
=======================================
Files 4 4
Lines 463 463
Branches 139 139
=======================================
Hits 334 334
Misses 129 129 Continue to review full report at Codecov.
|
@lencioni fyi - Your build is going to fail until webpack/webpack-dev-middleware#200 is released because of the
|
@snyamathi Yeah, I saw that as well. Thanks for noting it! |
@lencioni |
Freshly rebased! |
Now that webpack 3 is out, I am bumping some versions in here so folks can update. I don't know if any other changes are required but I figured I'd get the ball rolling.
Looks like webpack-dev-middleware 1.11.0 is out now, so I've updated this PR to include that as well. |
+1 |
@SpaceK33z @sokra please let me know if there is anything I can do to help move this along. Thanks! |
@sokra @TheLarkInn @SpaceK33z guys this is preventing us from upgrading to webpack 3 in JHipster. Any idea when this will be moved? |
Going to add some priority to this. |
@TheLarkInn any idea when this might be released? |
A new version of |
@webpack/core-team @webpack/dev-server-team Yo 👋 :D, could someone give this priority please? Seems to be good to go ? |
@webpack/core-team @webpack/dev-server-team Guys as an OSS project maintainer I know it's not fair to put pressure on people, but this issue literally makes it impossible to use webpack 3 in real projects, as you would always use webpack-dev-server along with it. So any progress would be extremely appreciated. If we can do anything to help please let us know we will help |
I agree with @deepu105, there is not a single webpack project I use that does not use webpack-dev-server. This makes the webpack v3 pretty much useless |
Hey all I apologize for the delay. The usual maintainer has been out on his master's work. Let me pick this up real quick |
Let me get this released as soon as I can |
@TheLarkInn really appreciated now JHipster can finally ship with webpack 3 💃 |
Can't wait to test the performance enhancements ! |
Is this on NPM? I am trying to install it with npm install --save-dev webpack-dev-server but keep getting:
EDIT: Latest release on NPM is 2.5.0:
|
@Download it's not. We also found several core plugins that haven't been updated yet (i.e. |
Need this released asap |
@TheLarkInn Any chance you could |
So so so sorry about the delay on this all! I have now published as webpack-dev-server@2.5.1 🎉 |
Thanks
Thanks & Regards,
Deepu
…On Fri, Jul 7, 2017 at 7:56 AM, Sean Larkin ***@***.***> wrote:
So so so sorry about the delay on this all! I have now published as
***@***.*** 🎉
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#946 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABDlF_bB1j6lb6HMoYjsCsk411TuWzb9ks5sLciOgaJpZM4N-b3N>
.
|
- add .npmrc, prevent package-lock.json - gitignore package-lock.json as an extraneous measure - update dependencies Examples: - add .npmrc, prevent package-lock.json - add README - move babel from package.json to .babelrc - eliminate unnecessary devdependencies: - babel-preset-stage-2 - postcss-cssnext - postcss-import - postcss-loader - update dependencies, devDependencies - eliminate unnecessary webpack configurations: - production logic to uglifyjs - postcss loaders - reference built CSS in example app (GridTestPage.jsx) Dependencies not updated to latest: - webpack stopped at 2.6.1 [pending webpack-dev-server support](webpack/webpack-dev-server#946) - eslint stopped at 3.19 [pending airbnb support](airbnb/javascript#1447)
Dawg. @TheLarkInn . You the man. If you're ever around in NYC I'll buy you coffee |
Actually it's kinda sad it took so long. I mean I know it's open source but
still, there's a level of commitment some people hold this team to.
Especially buying into the framework.
…On Fri, Jul 7, 2017, 5:40 PM Avindra Goolcharan ***@***.***> wrote:
Dawg. @TheLarkInn <https://github.com/thelarkinn> . You the man. If
you're ever around in NYC I'll buy you coffee
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#946 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABq8ajaVTf8zWwRzgtHayGl6NaQPjkgIks5sLqXOgaJpZM4N-b3N>
.
|
You could have always just use a your own fork for a while with cherry-picked changes. Also upgrading to webpack3 is not you must do the first day it comes out. So really... please stop complaining about free stuff you get from the community. |
@Andarist I could always write my own. Right? |
Yeah. Thats also an option. |
Well complaining is not nice maybe. But he does have a point.
Maybe. But look at it from the other perspective: Releasing Webpack 3 before plugins have had a chance to update is also not something that has to be done right away. Maybe the Webpack team should have taken more time for testing? At least maybe a major release should be a more coordinated effort where all major webpack components push a new version nearly simultaneously? I think that the Webpack team really dropped the ball on this release. Remember, as soon as you Maybe peer dependencies needs to be looked at more closely? Is it really necessary to limit the upper bound? Can we maybe use open ended ranges? Or should there be a different procedure for release? Some introspection is needed. Because what happened with v3 is not what the community expects from a package as big as Webpack. No complaints. Especially not against any of the great people helping with Webpack. Thanks I use it almost every day! But just an observation that the way this went is not good. |
Wow, the entitlement. |
Peer dep mismatch are just warnings anyway right?
At least it is with Yarn...
…On Sun, Jul 9, 2017, 6:59 PM Karl Jensen ***@***.***> wrote:
Wow, the entitlement.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#946 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAHvgO8E5FM4FeXmNg3LMB7y3yxozrNKks5sMVtWgaJpZM4N-b3N>
.
|
Yes they are warnings and shouldn't cause any issues
On 10 Jul 2017 11:47 pm, "Avindra Goolcharan" <notifications@github.com>
wrote:
… Peer dep mismatch are just warnings anyway right?
At least it is with Yarn...
On Sun, Jul 9, 2017, 6:59 PM Karl Jensen ***@***.***> wrote:
> Wow, the entitlement.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#946#
issuecomment-313971243>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/
AAHvgO8E5FM4FeXmNg3LMB7y3yxozrNKks5sMVtWgaJpZM4N-b3N>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#946 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABDlF1GQU6AYlfGvkpk_Y88s58mJvtwhks5sMpvqgaJpZM4N-b3N>
.
|
Now that webpack 3 is out, I am bumping some versions in here
so folks can update. I don't know if any other changes are required
but I figured I'd get the ball rolling.
Addresses #932
What kind of change does this PR introduce?
Updating dependencies
Did you add or update the
examples/
?No
Summary
I'd like to help unblock people who are using webpack-dev-server so they can update to webpack 3.
Does this PR introduce a breaking change?
No
Other information
This may need additional work, but I figured I'd get the ball rolling.