Import (or require ) the target file(s) in one of the bundle's files: file.js. import img from './file.png';. Then add the loader to your webpack config.
確定! 回上一頁