Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: webpack-contrib/file-loader
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.10.0
Choose a base ref
...
head repository: webpack-contrib/file-loader
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.10.1
Choose a head ref
  • 4 commits
  • 4 files changed
  • 4 contributors

Commits on Feb 4, 2017

  1. Remove license link

    To allow inclusion in https://webpack.js.org/ docs.
    simon04 committed Feb 4, 2017

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    32aada7 View commit details

Commits on Feb 5, 2017

  1. Merge pull request #123 from simon04/master

    Remove license link
    bebraw authored Feb 5, 2017

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b01526a View commit details

Commits on Feb 25, 2017

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    a8358a0 View commit details
  2. chore(release): 0.10.1

    joshwiens committed Feb 25, 2017
    Copy the full SHA
    5d8f73e View commit details
Showing with 14 additions and 4 deletions.
  1. +10 −0 CHANGELOG.md
  2. +1 −1 README.md
  3. +1 −1 index.js
  4. +2 −2 package.json
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,16 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="0.10.1"></a>
## [0.10.1](https://github.com/webpack/file-loader/compare/v0.10.0...v0.10.1) (2017-02-25)


### Bug Fixes

* **getOptions:** deprecation warn in loaderUtils ([#129](https://github.com/webpack/file-loader/issues/129)) ([a8358a0](https://github.com/webpack/file-loader/commit/a8358a0))



<a name="0.10.0"></a>
# [0.10.0](https://github.com/webpack/file-loader/compare/v0.9.0...v0.10.0) (2017-01-28)

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -124,7 +124,7 @@ Don't hesitate to create a pull request. Every contribution is appreciated. In d

<h2 align="center">LICENSE</h2>

#### [MIT](./LICENSE)
MIT

[npm]: https://img.shields.io/npm/v/file-loader.svg
[npm-url]: https://npmjs.com/package/file-loader
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ module.exports = function(content) {
this.cacheable && this.cacheable();
if(!this.emitFile) throw new Error("emitFile is required from module system");

var query = loaderUtils.parseQuery(this.query);
var query = loaderUtils.getOptions(this) || {};
var configKey = query.config || "fileLoader";
var options = this.options[configKey] || {};

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "file-loader",
"version": "0.10.0",
"version": "0.10.1",
"author": "Tobias Koppers @sokra",
"description": "file loader module for webpack",
"files": [
"index.js"
],
"dependencies": {
"loader-utils": "~0.2.5"
"loader-utils": "^1.0.2"
},
"devDependencies": {
"should": "~4.0.4",