laravel-mix-versionhash
Advanced tools
Comparing version 1.1.2 to 1.1.3
{ | ||
"license": "MIT", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"author": "ctf0", | ||
@@ -5,0 +5,0 @@ "name": "laravel-mix-versionhash", |
@@ -107,3 +107,3 @@ const mix = require('laravel-mix') | ||
return ( | ||
Config.fileLoaderDirs.images + `/[name].[hash:${length}].[ext]` | ||
Config.fileLoaderDirs.images + `/[name]${delimiter}[hash:${length}].[ext]` | ||
) | ||
@@ -134,3 +134,3 @@ } | ||
if (!/node_modules|bower_components/.test(path)) { | ||
return Config.fileLoaderDirs.fonts + `/[name].[hash:${length}].[ext]` | ||
return Config.fileLoaderDirs.fonts + `/[name]${delimiter}[hash:${length}].[ext]` | ||
} | ||
@@ -158,3 +158,3 @@ | ||
if (loader.loader === 'file-loader') { | ||
loader.options.name = `[name].[hash:${length}].[ext]` | ||
loader.options.name = `[name]${delimiter}[hash:${length}].[ext]` | ||
} | ||
@@ -161,0 +161,0 @@ }) |
12495