-
Notifications
You must be signed in to change notification settings - Fork 122
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
Webpack 2 #357
Webpack 2 #357
Conversation
nickbalestra
commented
Jan 19, 2017
•
edited by matteofigus
Loading
edited by matteofigus
- [GPT-432] Package server webpack #346 Need to be merged first then we can rebase and add this in.
eee71b6
to
6d64aac
Compare
@nickbalestra I merged the other one. Can you rebase this? Cheers |
6d64aac
to
9cf0a35
Compare
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.
@matteofigus minors and rebased
@@ -65,7 +65,6 @@ | |||
"handlebars": "4.0.5", | |||
"infinite-loop-loader": "1.0.0", | |||
"jade": "1.11.0", | |||
"json-loader": "0.5.4", |
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.
@@ -84,6 +83,6 @@ | |||
"uglify-js": "2.6.4", | |||
"underscore": "1.8.3", | |||
"watch": "0.19.1", | |||
"webpack": "1.14.0" | |||
"webpack": "2.2.0" |
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.
If this version is not visible on npm, is cause it still behind the beta flag. Reason for this choice by the wp team is to speed up writing documentation. They will remove the beta flag once documentation is fully complete. But webpack itself is totally out of beta and stable
var injectr = require('injectr'); | ||
var path = require('path'); | ||
var sinon = require('sinon'); | ||
var uglifyJs = require('uglify-js'); |
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.
extra cleanup of unneded require for the new updated unit test.
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.
Awesome
"resolved": "https://registry.npmjs.org/webpack/-/webpack-1.14.0.tgz" | ||
"version": "2.2.0", | ||
"from": "webpack@2.2.0", | ||
"resolved": "https://registry.npmjs.org/webpack/-/webpack-2.2.0.tgz" |
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.
🎉
}] | ||
] | ||
}) | ||
use: [ |
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.
I really like the new syntax. Much cleaner