Enable Webpack compiling for all images

This commit is contained in:
Matt-Yorkley
2021-06-14 12:59:45 +01:00
parent 31276ff3f5
commit 12f51febd3

View File

@@ -19,3 +19,7 @@ mrujs.start({
new CableCar(CableReady)
]
})
const images = require.context('../images', true)
const imagePath = (name) => images(name, true)