How to use webpack file-loader with three.js?
I was able to solve this issue in the following way: 1st) with webPack you must do a require (or an import), for example: let bg_px = require('../assets/milkyway/dark-s_px.jpg'), bg_nx = require('../assets/milkyway/dark-s_nx.jpg'), bg_py = require('../assets/milkyway/dark-s_py.jpg'); 2nd) OK!
https://stackoverflow.com/questions/57126769/how-to-use-webpack-file-loader-with-three-js