cherrry/ignore-loader

ignoring json files throws a warning

Qvatra opened this issue · 0 comments

the loader throws "Module parse failed: Unexpected end of JSON input while parsing near ''
File was processed with these loaders:

  • ./server/ignore-loader.js
    You may need an additional loader to handle the result of these loaders."

Any idea on how i can modify your loader to allow it to ignore json files without warnings?