fix(mac): remove dist file with `-f`

main
Anthony Fu 2023-06-21 16:34:16 +02:00 committed by GitHub
parent e9e51e66b2
commit 2488450075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ import { defineConfig } from 'umi';
import WebpackShellPlugin from 'webpack-shell-plugin-next';
const mac = [
'rm ./javascript/index.js',
'rm ./style.css',
'rm -f ./javascript/index.js',
'rm -f ./style.css',
'cp ./dist/index.js ./javascript/index.js',
'cp ./dist/index.css ./style.css',
];