Replace `rollup-plugin-license` and `wrap-ansi` with [`rolldown-license-plugin`](https://github.com/silverwind/rolldown-license-plugin), a zero-dependency plugin with async parallel I/O and built-in word wrapping. - Removes `rollup-plugin-license` (pulls in `lodash`, `moment`) and `wrap-ansi` from the dependency tree - License build time reduced by ~40% (370ms vs 640ms) - Added e2e test for `licenses.txt` Signed-off-by: silverwind <me@silverwind.io> Co-authored-by: Claude (Opus 4.6) <noreply@anthropic.com>
10 lines
308 B
TypeScript
10 lines
308 B
TypeScript
import {test, expect} from '@playwright/test';
|
|
|
|
test('licenses.txt', async ({page}) => {
|
|
const resp = await page.goto('/assets/licenses.txt');
|
|
expect(resp?.status()).toBe(200);
|
|
const content = await resp!.text();
|
|
expect(content).toContain('@vue/');
|
|
expect(content).toContain('code.gitea.io/');
|
|
});
|