()
| 136 | } |
| 137 | |
| 138 | function copyDevToolsDescriptionFiles() { |
| 139 | const devtoolsIssuesDescriptionPath = |
| 140 | 'node_modules/chrome-devtools-frontend/front_end/models/issues_manager/descriptions'; |
| 141 | const sourceDir = path.join(process.cwd(), devtoolsIssuesDescriptionPath); |
| 142 | const destDir = path.join( |
| 143 | BUILD_DIR, |
| 144 | 'src', |
| 145 | 'third_party', |
| 146 | 'issue-descriptions', |
| 147 | ); |
| 148 | fs.cpSync(sourceDir, destDir, {recursive: true}); |
| 149 | } |
| 150 | |
| 151 | main(); |