react-speech-recognition-input icon indicating copy to clipboard operation
react-speech-recognition-input copied to clipboard

Require statements should not include loader

Open de-code opened this issue 9 years ago • 0 comments

Hi,

Thank you for providing the component. I was trying to use your use your component. But it is specifying the loaders to use for the require statements. Which I guess assumes that the user is using webpack. It also conflicts with the file extension based rules in the webpack config. Actually you seem to be importing the CSS and then use it in JS. (Apart from that it uses a mic image rather than styles which makes it more difficult to override)

I was wondering whether you would consider changing that?

de-code avatar Dec 18 '16 23:12 de-code