file-loader-path

file loader module for webpack , resolve public path

Usage no npm install needed!

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

README

file-loader-path for webpack

... {test: /.ttf(?v=\d+.\d+.\d+)?$/, loader: "file-loader?limit=8192&name=[name].[ext]?[hash:8]&path=./[name].[ext]?[hash:8]"} ...

License

ISC