base64-image-loader
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -6,3 +6,3 @@ 'use strict'; | ||
function getMime(path) { | ||
const extension = path.split('.').pop(); | ||
const extension = path.split('.').pop().toLowerCase(); | ||
const mime = mimes[extension]; | ||
@@ -9,0 +9,0 @@ if (!mime) { |
{ | ||
"name": "base64-image-loader", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "base64 image loader for webpack", | ||
@@ -5,0 +5,0 @@ "repository": { |
# base64 image loader for webpack | ||
![](https://travis-ci.org/jahredhope/base64-image-loader.svg?branch=master) | ||
Easily switched out for a url loader this loader can be injected directly into an img src tag | ||
@@ -4,0 +6,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4947
7
30