Skip to content

4.0.0 (2019-06-05)

chore

BREAKING CHANGES

  • deps: minimum required nodejs version is 8.9.0
Assets 2

@evilebottnawi evilebottnawi released this Dec 20, 2018 · 5 commits to master since this release

3.0.1 (2018-12-20)

Bug Fixes

  • relax options validation for additional properties (#309) (c74d44e)
Assets 2

@evilebottnawi evilebottnawi released this Dec 20, 2018 · 9 commits to master since this release

3.0.0 (2018-12-20)

Code Refactoring

  • drop support for webpack < 4 (#303) (203a4ee)
  • more validations in options schema

Features

  • resourcePath is now available in outputPath and publicPath (#304) (0d66e64)
  • context is now available in outputPath and publicPath (#305) (d5eb823)

BREAKING CHANGES

  • removed the useRelativePath option. It is dangerously and break url when you use multiple entry points.
  • drop support for webpack < 4
Assets 2

@michael-ciniawsky michael-ciniawsky released this Aug 21, 2018 · 19 commits to master since this release

2018-08-21

Code Refactoring

  • defaults: update to latest webpack-defaults (#268) (687f422)

BREAKING CHANGES

  • defaults: Enforces engines of "node": ">=6.9.0 < 7.0.0 || >= 8.9.0"
Assets 2

@michael-ciniawsky michael-ciniawsky released this Mar 1, 2018 · 25 commits to master since this release

2018-03-01

Reverts

  • index: context takes precedence over issuer.context (options.useRelativePath) (#260) (e73131f)
Assets 2

@michael-ciniawsky michael-ciniawsky released this Feb 26, 2018 · 27 commits to master since this release

2018-02-26

Bug Fixes

  • package: add webpack >= 4 (peerDependencies) (#255) (3a6a7a1)
Assets 2

@michael-ciniawsky michael-ciniawsky released this Feb 21, 2018 · 29 commits to master since this release

2018-02-21

Bug Fixes

  • index: handle protocol URL's correctly (options.publicPath) (#253) (54fa5a3)
  • index: use path.posix for platform consistency (#254) (2afe0af)
Assets 2

@michael-ciniawsky michael-ciniawsky released this Feb 20, 2018 · 32 commits to master since this release

2018-02-20

Bug Fixes

  • index: context takes precedence over issuer.context (options.useRelativePath) (3b071f5)
  • index: don't append outputPath to the original url (options.outputPath {Function}) (4c1ccaa)
  • index: normalize and concat paths via path.join() (26e47ca)
Assets 2

@michael-ciniawsky michael-ciniawsky released this Feb 19, 2018 · 36 commits to master since this release

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
Assets 2

@d3viant0ne d3viant0ne released this Dec 16, 2017 · 41 commits to master since this release

2017-12-16

Bug Fixes

  • rootContext compatibility fix for legacy / v4 (#237) (1e4b7cf), closes #237
Assets 2
You can’t perform that action at this time.