0

rawloader is used to read a file in webpack. Lets say we want to read the contents of a file thats already being handled by another loader. Can we use the rawloader (or any other technique) to do that?

Lets say .myext has a loader that returns an object. but at the same time i want to read contents of that file. Is there an easy way?

import resource from '/path/res.myext'
noi.m
  • 3,070
  • 5
  • 34
  • 57

0 Answers0