Merge pull request #137 from antfu/patch-1

fix(mac): remove dist file with `-f`
main
CanisMinor 2023-06-25 22:35:45 +08:00 committed by GitHub
commit 6b654bf39e
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',
];