Using the text file module import does not work for my CSS file

I have this: import styles from ‘./css/styles.css’

But looks like it’s returning an object so the response output is: [object Object] and the console output is: styles: {}