Skip to content
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 file-loader in /site from 1.1.5 to 1.1.7 #354

Closed
wants to merge 1 commit into from

Conversation

dependencies[bot]
Copy link

@dependencies dependencies bot commented Feb 20, 2018

Dependencies.io has updated file-loader (a npm dependency in /site) from "1.1.5" to "1.1.7".

1.1.7

2018-02-19

Bug Fixes

  • index: don't concat options.outputPath and options.publicPath (#246) (98bf052)

webpack.config.js

{
  test: /\.svg$/,
  use: [
    {
      loader: 'file-loader',
      options: {
        name: '[name].[ext]',
        outputPath: 'assets/',
        publicPath: 'public/'
      }
    }
  ]
})

bundle.js

/***/ (function(module, exports) {

- module.exports = "./public/assets/file.svg";
+ module.exports = "./public/file.svg";

/***/ }),
|- src
| |– file.svg
|- dist
| |- assets
| | |– file.svg

@dependencies
Copy link
Author

dependencies bot commented Feb 21, 2018

This PR has been automatically closed in favor of #357.

@dependencies dependencies bot deleted the file-loader-1.1.7-115.2.1 branch February 21, 2018 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant