copy-webpack-plugin
Advanced tools
Comparing version 4.5.3 to 4.5.4
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="4.5.4"></a> | ||
## [4.5.4](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.5.3...v4.5.4) (2018-10-18) | ||
### Bug Fixes | ||
* **processPattern:** don't add `'glob'` as directory when it is a file (`contextDependencies`) ([#296](https://github.com/webpack-contrib/copy-webpack-plugin/issues/296)) ([5670926](https://github.com/webpack-contrib/copy-webpack-plugin/commit/5670926)) | ||
<a name="4.5.3"></a> | ||
@@ -7,0 +17,0 @@ ## [4.5.3](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.5.2...v4.5.3) (2018-10-10) |
@@ -16,2 +16,6 @@ 'use strict'; | ||
var _isGlob = require('is-glob'); | ||
var _isGlob2 = _interopRequireDefault(_isGlob); | ||
var _path = require('path'); | ||
@@ -69,3 +73,3 @@ | ||
var contextPath = _path2.default.dirname(_path2.default.resolve(from)); | ||
if (contextDependencies.indexOf(contextPath) === -1) { | ||
if (contextDependencies.indexOf(contextPath) === -1 && (0, _isGlob2.default)(pattern.glob)) { | ||
contextDependencies.push(contextPath); | ||
@@ -72,0 +76,0 @@ } |
{ | ||
"name": "copy-webpack-plugin", | ||
"version": "4.5.3", | ||
"version": "4.5.4", | ||
"description": "Copy files && directories with webpack", | ||
@@ -5,0 +5,0 @@ "author": "Len Boyette", |
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
47983
568