File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,10 @@ const movePkgToRootDist = async() => {
2323 await fs . writeJson ( `${ distRoot } /package.json` , content , { spaces : 2 } )
2424}
2525
26- // ⭐TODO: 移动 readme 到 dist
27- /* const moveReadMeToRootDist = async() => {
26+ const moveReadMeToRootDist = async ( ) => {
2827 await fs . copy ( `${ path . resolve ( '../README.md' ) } ` , `${ distRoot } /README.md` )
2928 await fs . copy ( `${ path . resolve ( '../README.ZH-CN.md' ) } ` , `${ distRoot } /README.ZH-CN.md` )
30- } */
29+ }
3130
3231export default series (
3332 ...parallelTask ( ) ,
@@ -41,11 +40,10 @@ export default series(
4140 const res = await movePkgToRootDist ( )
4241 return res
4342 } ,
44- // ⭐TODO: 移动 readme 到 dist
45- /* async() => {
43+ async ( ) => {
4644 const res = await moveReadMeToRootDist ( )
4745 return res
48- }, */
46+ } ,
4947 // 删build目录下dist
5048 async ( ) => {
5149 const res = await run ( 'pnpm run --filter @unplugin-vue-cssvars/build clean' )
You can’t perform that action at this time.
0 commit comments