copify-webpack-plugin
Advanced tools
Comparing version 0.1.4 to 0.2.0
@@ -44,2 +44,3 @@ 'use strict'; | ||
path: '.', | ||
processFromPattern: null, | ||
filename: 'webpack-assets.json', | ||
@@ -111,2 +112,6 @@ processOutput: function processOutput(assets) { | ||
pattern.manifestBasePath = pattern.manifestBasePath ? pattern.manifestBasePath : options.manifest.basePath; | ||
pattern.excludeFromManifest = pattern.excludeFromManifest ? pattern.excludeFromManifest : false; | ||
pattern.replaceFromPattern = pattern.replaceFromPattern ? pattern.replaceFromPattern : options.manifest.replaceFromPattern; | ||
} | ||
@@ -113,0 +118,0 @@ |
@@ -88,3 +88,3 @@ 'use strict'; | ||
if (assetsMap && !pattern.excludeFromManifest) { | ||
var manifestFrom = file.relativeFrom; | ||
var manifestFrom = pattern.replaceFromPattern && pattern.replaceFromPattern.searchValue && pattern.replaceFromPattern.replaceValue ? file.relativeFrom.replace(pattern.replaceFromPattern) : file.relativeFrom; | ||
var manifestTo = file.webpackTo; | ||
@@ -91,0 +91,0 @@ |
{ | ||
"name": "copify-webpack-plugin", | ||
"version": "0.1.4", | ||
"version": "0.2.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
30244
420