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 packages/react-scripts from 1.1.6 to 1.1.7 #61

Merged
merged 1 commit into from Feb 20, 2018

Conversation

dependencies[bot]
Copy link

@dependencies dependencies bot commented Feb 20, 2018

Dependencies.io has updated file-loader (a npm dependency in packages/react-scripts) from "1.1.6" 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

@Hypnosphi Hypnosphi merged commit 7ba93a5 into master Feb 20, 2018
@Hypnosphi Hypnosphi deleted the dependencies.io-update-build-88.0.0 branch February 20, 2018 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants