tcoopman / image-webpack-loader

Image loader module for webpack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unexpected character

MLDMoritz opened this issue · comments

Module parse failed: Unexpected character '�' (1:0)
File was processed with these loaders:

  • ./node_modules/image-webpack-loader/index.js
    You may need an additional loader to handle the result of these loaders.

This is my configuration:

const imgRule = config.module.rule('images')
        imgRule.use('file-loader')
            .loader('image-webpack-loader')