perf(web): remove legacy theme from production bundle
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { describe, expect, test } from 'vitest';
|
||||
import mainSource from '../main.tsx?raw';
|
||||
|
||||
describe('V2 production entry', () => {
|
||||
test('does not load the legacy Semi UI theme and global stylesheet', () => {
|
||||
expect(mainSource).not.toContain("./styles/global.css");
|
||||
expect(mainSource).toContain("./v2/styles/v2.css");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user