copify-webpack-plugin
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -47,2 +47,3 @@ 'use strict'; | ||
} | ||
pattern.realContext = pattern.context; | ||
pattern.ignore = globalRef.ignore.concat(pattern.ignore || []); | ||
@@ -49,0 +50,0 @@ |
@@ -88,11 +88,5 @@ 'use strict'; | ||
if (assetsMap && !pattern.excludeFromManifest) { | ||
var manifestFrom = file.relativeFrom; | ||
var manifestFrom = _path2.default.relative(pattern.realContext, file.absoluteFrom); | ||
var manifestTo = file.webpackTo; | ||
if (pattern.toType === 'template') { | ||
manifestFrom = manifestFrom[0] === _path2.default.sep ? manifestFrom.substring(1) : manifestFrom; | ||
} | ||
manifestFrom = _path2.default.join(_path2.default.dirname(file.webpackTo), manifestFrom); | ||
if (pattern.manifestBasePath) { | ||
@@ -99,0 +93,0 @@ manifestFrom = _path2.default.join(pattern.manifestBasePath, manifestFrom); |
{ | ||
"name": "copify-webpack-plugin", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "Copy files and directories in webpack, supported manifest", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
29721
416