mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
8630dc8149
This commit introduces integration tests for hydration and event reply functionalities. Additionally, it implements a payload size check for the `event-dispatch-contract.min.js`. PR Close #55708
12 lines
377 B
JavaScript
12 lines
377 B
JavaScript
/**
|
|
* This script copies '@angular/core/event-dispatch-contract.min.js' to the 'public' directory, ensuring it's available as an asset.
|
|
* This is necessary to perform size checks on the distributed script.
|
|
*/
|
|
|
|
import {copyFileSync} from 'node:fs';
|
|
|
|
copyFileSync(
|
|
'./node_modules/@angular/core/event-dispatch-contract.min.js',
|
|
'public/event-dispatch-contract.min.js',
|
|
);
|