Skip to content

Commit

Permalink
exclude _jampack from compression
Browse files Browse the repository at this point in the history
  • Loading branch information
georges-gomes committed Jun 11, 2023
1 parent 3b05e91 commit a656e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const processFile = async (file: string, stats: Stats): Promise<void> => {
export async function compressFolder(exclude: string): Promise<void> {
const spinner = ora(getProgressText()).start();

const globs = ['**/**'];
const globs = ['**/**', '!_jampack/**']; // Exclude jampack folder because already compressed
if (exclude) globs.push('!' + exclude);
const paths = await globby(globs, { cwd: $state.dir, absolute: true });

Expand Down

0 comments on commit a656e29

Please sign in to comment.