-
-
Notifications
You must be signed in to change notification settings - Fork 607
version 1.0 #742
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
version 1.0 #742
Changes from 1 commit
07444ad
50f8ec0
1b7acf7
965068d
b47c566
871e905
594a4c2
8f9ea06
1cb903b
9907f13
88c38e5
c5b2cc1
4fa385c
8db3fb0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
webpack version is 4
BREAKING CHANGE: minimum require `webpack` version is `4`
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,6 @@ var compileExports = require("./compile-exports"); | |
|
|
||
|
|
||
| module.exports = function(content, map) { | ||
| if(this.cacheable) this.cacheable(); | ||
| var callback = this.async(); | ||
| var query = loaderUtils.getOptions(this) || {}; | ||
| var moduleMode = query.modules; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. because this is a refactor, shouldn't we use
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @shellscape also let's do it other PR, when we ship webpack-default in this repo There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK |
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,6 +34,9 @@ | |
| "should": "^11.1.2", | ||
| "standard-version": "^4.0.0" | ||
| }, | ||
| "peerDependencies": { | ||
| "webpack": "^4.0.0" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure about this. The codebase does not
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ooflorent we use this for all webpack-contrib repos, better create issue in
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ooflorent Also it is prevent problem with using webpack api between version, if somebody want use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah it's a standard for webpack-defaults. that peerDep on webpack has been in defaults for a very long time. along with the |
||
| }, | ||
| "scripts": { | ||
| "lint": "eslint lib test", | ||
| "test": "mocha", | ||
|
|
||
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.
can we ditch travis and get on circle CI?
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.
@shellscape let's do this in other PR
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.
OK