Apuntes

module.exports = {
	...
  module: {
    rules: [
      {
        test: /\\.png/,
        type: "asset/resource"
      }
    ]
  },
}
import github from '../assets/images/github.png';
// Ejemplo en Vanilla JS
const imagen = `<img src=`${github}` />`;
// Ejemplo en React
<img src={`${github}`} />