1
0
mirror of synced 2025-11-09 05:17:24 +00:00

fix(CLI): remove exports of deleted files for non-Node.js projects

This commit is contained in:
Jason Dreyzehner
2018-03-20 20:42:03 -04:00
parent 2e0a9ab98d
commit 1e14d03596
2 changed files with 3 additions and 3 deletions

View File

@@ -210,7 +210,7 @@ export async function typescriptStarter(
});
await replace({
files: join(projectPath, 'src', 'index.ts'),
from: `export * from './lib/hash';\n`,
from: /^export[\S\s]*hash';\s*/,
to: ''
});
await del([