assets-webpack-plugin: Images emitted by file-loader doesn't show in assets.json

loaders: [
  ...
  { 
    test: /\.(jpe?g|png|gif|svg)$/i, 
    loader: `file?name=[path][name].[ext]?[hash]&context=${context}!img`
  }
]

nothing show in assets.json except js and css

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 8
  • Comments: 20 (9 by maintainers)

Most upvoted comments

On npm, for this package it says “I’m looking for a new maintainer, please contact me if you are interested”. I assume you’ve taken ownership of the package @kossnocorp? Or are you looking for someone else to maintain it?

This version of assets-webpack-plugin needs to be released to npm. The plugin works if I use this git-repo directly, but you’ll want to avoid using git as a dependency.

"devDependencies": {
  "assets-webpack-plugin": "git://github.com/kossnocorp/assets-webpack-plugin",