-
-
Notifications
You must be signed in to change notification settings - Fork 256
Conversation
- Retains index.js file history - Assumes proposed change to npm@5 - Assumes proposed appveyor proposal
src/index.js
Outdated
import loaderUtils from 'loader-utils'; | ||
|
||
export default function fileLoader(content) { | ||
this.cacheable && this.cacheable(); // eslint-disable-line no-unused-expressions |
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.
This isn't needed with webpack >= v2.0.0, I know the PR 'just' applies webpack-defaults
for the moment, so could be done later, but it's a simple change so maybe :)
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.
No, you're right about that. File loader was the guinea pig for defaults. It's being redone only to retain the git history on the lib files and to save me the trouble of having to rebase in changes on a file that was deleted on this branch :)
|
||
const filePath = this.resourcePath; | ||
if (config.useRelativePath) { | ||
const issuerContext = this._module && this._module.issuer // eslint-disable-line no-underscore-dangle |
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.
Maybe we should relax some of these ESLint rules or are these lines subject to change in a smaller upcoming PR by intention ?
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.
Nevermind I saw the v1.1.0
milestone 😛
The CI problem is a linux only thing, i'll figure it out this afternoon. |
0c46ff9
to
68ab09f
Compare
What kind of change does this PR introduce?
Refactoring
Did you add tests for your changes?
If relevant, did you update the README?
Summary
Can't rebase in the changes from master given the
index.js
in the old defaults upgrade was deleted.Has the latest proposed changes to defaults ( appveyor & npm@5 )
Does this PR introduce a breaking change?
Breaking Change - Enforces NodeJS > 4.3 via engines.
Must release as semver
MAJOR
Other information