Initial commit
Generated by create-expo-module 56.0.3.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env node
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const SUBTARGETS = ['plugin', 'cli', 'utils', 'scripts'];
|
||||
const target = process.argv[2];
|
||||
|
||||
if (target && SUBTARGETS.includes(target)) {
|
||||
fs.rmSync(path.join(process.cwd(), target, 'build'), { recursive: true, force: true });
|
||||
} else {
|
||||
fs.rmSync(path.join(process.cwd(), 'build'), { recursive: true, force: true });
|
||||
}
|
||||
Reference in New Issue
Block a user