@types/copy-webpack-plugin
Advanced tools
Comparing version 4.0.2 to 4.4.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for copy-webpack-plugin v4.0.0 | ||
// Type definitions for copy-webpack-plugin 4.4 | ||
// Project: https://github.com/kevlened/copy-webpack-plugin | ||
@@ -14,5 +14,11 @@ // Definitions by: flying-sheep <https://github.com/flying-sheep> | ||
interface MiniMatchOptions extends IOptions { | ||
cwd?: string | ||
} | ||
interface CopyPattern { | ||
/** File source path or glob */ | ||
from: string | MiniMatchGlob | ||
/** See the `node-glob` options in addition to the ones below. (default: `{ cwd: context }`) */ | ||
fromArgs?: MiniMatchOptions | ||
/** | ||
@@ -43,2 +49,4 @@ * Path or webpack file-loader patterns. defaults: | ||
transform?: (content: string, path: string) => string | ||
/** Enable transform caching. You can use `{ cache: { key: 'my-cache-key' } }` to invalidate the cache. (default: `false`) */ | ||
cache?: boolean | { key: string } | ||
/** Overwrites files already in `compilation.assets` (usually added by other plugins; default: `false`) */ | ||
@@ -45,0 +53,0 @@ force?: boolean |
{ | ||
"name": "@types/copy-webpack-plugin", | ||
"version": "4.0.2", | ||
"version": "4.4.0", | ||
"description": "TypeScript definitions for copy-webpack-plugin", | ||
@@ -23,4 +23,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "ca4796b5c0557db384b08c52100d314b2727abf0d47146c64db3b06d218a3637", | ||
"typesPublisherContentHash": "452650c77cb903f0ed855aa6941db1033016dd38991485a3249e52c680ccdf39", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 13 Feb 2018 20:54:39 GMT | ||
* Last updated: Mon, 19 Feb 2018 15:08:56 GMT | ||
* Dependencies: webpack, minimatch | ||
@@ -14,0 +14,0 @@ * Global values: none |
5140
61