fix(build): modernize package configuration and remove smartfile dependency from filesystem operations

This commit is contained in:
2026-05-01 16:40:11 +00:00
parent 27fd2efb51
commit 61218599c8
12 changed files with 4044 additions and 5807 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
import { expect, tap } from '@push.rocks/tapbundle';
import * as smartssr from '../dist_ts/index.js';
import { tap } from '@git.zone/tstest/tapbundle';
import * as smartssr from '../ts/index.js';
let testSSRInstance: smartssr.SmartSSR;
@@ -9,7 +9,7 @@ tap.test('should create a valid smartssr instance', async () => {
});
});
tap.test('should render central.eu', async (tools) => {
tap.test('should render central.eu', async () => {
const renderedPage = await testSSRInstance.renderPage('https://lossless.com');
console.log(renderedPage);
});
@@ -23,4 +23,4 @@ tap.test('should render https://lossless.gmbh', async () => {
console.log(renderedPage);
});
tap.start();
export default tap.start();