-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make yarn build command cross-platform (#3747)
* Make npm build command cross-platform * Update scripts/clean.cjs Co-authored-by: katspaugh <381895+katspaugh@users.noreply.github.com> --------- Co-authored-by: katspaugh <381895+katspaugh@users.noreply.github.com>
- Loading branch information
1 parent
741f71c
commit 08afa79
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const path = require('path') | ||
const fs = require('fs') | ||
|
||
const run = () => { | ||
const distPath = path.join(__dirname, '../dist') | ||
fs.rmSync(distPath, { recursive: true, force: true }) | ||
} | ||
|
||
run() |