File tree Expand file tree Collapse file tree 4 files changed +1700
-1896
lines changed Expand file tree Collapse file tree 4 files changed +1700
-1896
lines changed Original file line number Diff line number Diff line change 3838 },
3939 "homepage" : " https://github.com/SimenB/add-asset-html-webpack-plugin#readme" ,
4040 "dependencies" : {
41- "globby" : " ^8 .0.0" ,
41+ "globby" : " ^9 .0.0" ,
4242 "micromatch" : " ^3.1.3" ,
4343 "p-each-series" : " ^1.0.0"
4444 },
4848 "@babel/plugin-transform-modules-commonjs" : " ^7.0.0" ,
4949 "@babel/preset-env" : " ^7.0.0" ,
5050 "babel-core" : " ^7.0.0-bridge.0" ,
51- "babel-jest" : " ^23.6 .0" ,
51+ "babel-jest" : " ^24.0 .0" ,
5252 "babel-plugin-add-module-exports" : " ^1.0.0" ,
5353 "classnames" : " ^2.2.5" ,
5454 "del-cli" : " ^1.1.0" ,
5757 "eslint_d" : " ^7.1.0" ,
5858 "html-webpack-plugin" : " ^4.0.0-0" ,
5959 "husky" : " ^1.0.1" ,
60- "jest" : " ^23.6 .0" ,
60+ "jest" : " ^24.0 .0" ,
6161 "jest-watch-typeahead" : " ^0.2.0" ,
6262 "licensor" : " ^4.0.0" ,
6363 "lint-staged" : " ^7.0.0" ,
Original file line number Diff line number Diff line change @@ -41,11 +41,10 @@ export async function handleUrl(assets) {
4141 const globbyAssets = [ ] ;
4242 const normalAssets = [ ] ;
4343 // if filepath is null or undefined, just bubble up.
44- assets . forEach (
45- asset =>
46- asset . filepath && globby . hasMagic ( asset . filepath )
47- ? globbyAssets . push ( asset )
48- : normalAssets . push ( asset ) ,
44+ assets . forEach ( asset =>
45+ asset . filepath && globby . hasMagic ( asset . filepath )
46+ ? globbyAssets . push ( asset )
47+ : normalAssets . push ( asset ) ,
4948 ) ;
5049 const ret = [ ] ;
5150 await Promise . all (
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ test('should used passed in publicPath', async () => {
7979} ) ;
8080
8181// TODO: No idea what this does, actually... Coverage currently hits it, but the logic is untested.
82- test . skip ( 'should handle missing `publicPath`' , ( ) => { } ) ;
82+ test . todo ( 'should handle missing `publicPath`' ) ;
8383
8484test ( 'should add file missing "/" to public path' , async ( ) => {
8585 const compilation = { options : { output : { publicPath : 'vendor' } } } ;
You can’t perform that action at this time.
0 commit comments