@jinker/autodll-webpack-plugin
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -44,3 +44,4 @@ 'use strict'; | ||
}).filter(function (filename) { | ||
return _path2.default.extname(filename) === '.js'; | ||
return (/\.(js|map|css|)$/.test(_path2.default.extname(filename)) | ||
); | ||
}).map(function (filename) { | ||
@@ -47,0 +48,0 @@ return (0, _bluebird.join)(filename, fs.readFileAsync(_path2.default.join(cacheDir, hash, filename))); |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "[![Build Status](https://travis-ci.org/asfktz/autodll-webpack-plugin.svg?branch=master)](https://travis-ci.org/asfktz/autodll-webpack-plugin)", | ||
@@ -8,0 +8,0 @@ "main": "lib/index.js", |
@@ -20,3 +20,3 @@ import MemoryFileSystem from 'memory-fs'; | ||
.catch(() => []) | ||
.filter(filename => path.extname(filename) === '.js') | ||
.filter(filename => /\.(js|map|css|)$/.test(path.extname(filename))) | ||
.map(filename => | ||
@@ -23,0 +23,0 @@ join(filename, fs.readFileAsync(path.join(cacheDir, hash, filename))) |
72139
1241