Skip to content

Commit eaa04d8

Browse files
arthurdennerCompuIves
authored andcommitted
feat(download): export lock files when downloading sandbox (codesandbox#3038)
1 parent 680b47b commit eaa04d8

File tree

1 file changed

+1
-3
lines changed
  • packages/app/src/app/overmind/effects/zip/create-zip

1 file changed

+1
-3
lines changed

packages/app/src/app/overmind/effects/zip/create-zip/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,6 @@ export async function createDirectoryWithFiles(
196196
);
197197
}
198198

199-
const DEFAULT_IGNORE = ['yarn.lock', 'package-lock.json'];
200-
201199
export async function createZip(
202200
sandbox: Sandbox,
203201
modules: Array<Module>,
@@ -206,7 +204,7 @@ export async function createZip(
206204
useGitIgnore: boolean = false
207205
) {
208206
const zip = new JSZip();
209-
const ignorer = ignore().add(DEFAULT_IGNORE);
207+
const ignorer = ignore();
210208

211209
if (useGitIgnore) {
212210
const gitIgnore = modules.find(

0 commit comments

Comments
 (0)