From 89df3d6bc6eff0533c369fc3ac62a10cac2e56be Mon Sep 17 00:00:00 2001 From: Joel Chen Date: Fri, 14 Feb 2020 06:39:16 -0800 Subject: [PATCH] avoid copying removed files --- packages/create-app/src/create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-app/src/create.js b/packages/create-app/src/create.js index 15b32c6da..fc982e4fa 100644 --- a/packages/create-app/src/create.js +++ b/packages/create-app/src/create.js @@ -34,7 +34,7 @@ async function create() { Fs.writeFileSync(Path.resolve("package.json"), `${JSON.stringify(pkg, null, 2)}\n`); shcmd.cp(Path.join(srcDir, "xclap.js"), process.cwd()); - shcmd.cp("-R", Path.join(srcDir, "archetype"), process.cwd()); + // shcmd.cp("-R", Path.join(srcDir, "archetype"), process.cwd()); shcmd.cp("-R", Path.join(srcDir, "src"), process.cwd()); shcmd.cp("-R", Path.join(srcDir, "static"), process.cwd()); shcmd.cp("-R", Path.join(srcDir, "_gitignore"), Path.resolve(".gitignore"));