filename-loader

Webpack loader that returns the name of the file as a string. Useful for testing image paths

Usage no npm install needed!

<script type="module">
  import filenameLoader from 'https://cdn.skypack.dev/filename-loader';
</script>

README