File tree Expand file tree Collapse file tree 4 files changed +460
-9
lines changed Expand file tree Collapse file tree 4 files changed +460
-9
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Latest version of this document will always be available on https://github.com/S
77## [ Unreleased]
88### Changed
99- Replace Bluebird with ` p-each-series `
10+ - Replace ` minimatch ` with ` micromatch `
1011
1112## [ 2.1.2] - 2017-09-15
1213### Fixes
Original file line number Diff line number Diff line change 3939 "homepage" : " https://github.com/SimenB/add-asset-html-webpack-plugin#readme" ,
4040 "dependencies" : {
4141 "globby" : " ^6.1.0" ,
42- "minimatch " : " ^3.0.4 " ,
42+ "micromatch " : " ^3.1.3 " ,
4343 "p-each-series" : " ^1.0.0"
4444 },
4545 "devDependencies" : {
Original file line number Diff line number Diff line change 11import path from 'path' ;
22import crypto from 'crypto' ;
33import pEachSeries from 'p-each-series' ;
4- import minimatch from 'minimatch ' ;
4+ import micromatch from 'micromatch ' ;
55import handleUrl from './handleUrl' ;
66
77function ensureTrailingSlash ( string ) {
@@ -56,7 +56,7 @@ async function addFileToAssets(
5656
5757 if ( fileFilters . length > 0 ) {
5858 const shouldSkip = ! fileFilters . some ( file =>
59- minimatch ( htmlPluginData . outputName , file )
59+ micromatch . isMatch ( htmlPluginData . outputName , file )
6060 ) ;
6161
6262 if ( shouldSkip ) {
You can’t perform that action at this time.
0 commit comments