File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -9,18 +9,14 @@ const copyStaticFilesPlugin = () => ({
99 closeBundle ( ) {
1010 const distDir = join ( process . cwd ( ) , 'dist' )
1111
12- // Copy swagger.json and swag.json to dist/openapi
12+ // Copy swagger.json to dist/openapi
1313 const openapiDestDir = join ( distDir , 'openapi' )
1414 mkdirSync ( openapiDestDir , { recursive : true } )
1515 copyFileSync (
1616 join ( process . cwd ( ) , 'openapi' , 'swagger.json' ) ,
1717 join ( openapiDestDir , 'swagger.json' )
1818 )
19- copyFileSync (
20- join ( process . cwd ( ) , 'openapi' , 'swag.json' ) ,
21- join ( openapiDestDir , 'swag.json' )
22- )
23- console . log ( '✓ Copied swagger.json and swag.json to dist/openapi' )
19+ console . log ( '✓ Copied swagger.jso to dist/openapi' )
2420
2521 // Copy docs folder
2622 const docsSource = join ( process . cwd ( ) , 'docs' )
You can’t perform that action at this time.
0 commit comments