How to import less, scss in js file?

I wanna manage loader orders of all style files, including css, less, scss. the problem is, I can only import css in js file, import less file in less file. How to uniform the imports of all style files?

Is this possible? If I do import './my' (where my.less is next to the js file) then it seems to validate the file - check for less errors, etc., but it doesn’t append the less file into the main css file.