Closed emmaafrn closed 2 years ago
Found this example to inspire myself
{ test:/\.(svg|jpg|png|gif)$/, use: [{ loader:'file-loader', options: { publicPath: path.resolve(__dirname, '/assets/img'), outputPath: 'assets/img', name: '[name].[ext]', esModule: false } }], },
Done !
Found this example to inspire myself