fix(CLI): remove exports of deleted files for non-Node.js projects
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user