Properly Ignore zips and such when building
This commit is contained in:
parent
a31a3ac513
commit
adc3e8ce85
1 changed files with 1 additions and 0 deletions
|
|
@ -162,6 +162,7 @@ export const globPlugins = kind => ({
|
||||||
const fileName = file.name;
|
const fileName = file.name;
|
||||||
if (fileName.startsWith("_") || fileName.startsWith(".")) continue;
|
if (fileName.startsWith("_") || fileName.startsWith(".")) continue;
|
||||||
if (fileName === "index.ts") continue;
|
if (fileName === "index.ts") continue;
|
||||||
|
if (/\.(zip|rar|7z|tar|gz|bz2)/.test(fileName)) continue;
|
||||||
|
|
||||||
const target = getPluginTarget(fileName);
|
const target = getPluginTarget(fileName);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue