fix(core): update

This commit is contained in:
2022-05-04 17:13:52 +02:00
parent e243e17acb
commit 58a7dca142
13 changed files with 878 additions and 458 deletions

View File

@ -1,8 +1,6 @@
import { expect, tap } from '@pushrocks/tapbundle';
import * as tsbundle from '../ts/index.js';
import * as path from 'path';
tap.test('should bundle with esbuild', async () => {
const tsbundleInstance = new tsbundle.TsBundle();
await tsbundleInstance.build(
@ -15,26 +13,5 @@ tap.test('should bundle with esbuild', async () => {
);
});
tap.test('should bundle with parcel', async () => {
const tsbundleInstance = new tsbundle.TsBundle();
await tsbundleInstance.build(
process.cwd() + '/test',
'./ts_web/index.ts',
'./dist_manual/test.js',
{
bundler: 'parcel'
}
);
});
tap.test('should bundle with rollup', async () => {
const tsbundleInstance = new tsbundle.TsBundle();
await tsbundleInstance.build(
process.cwd(),
'./test/ts_web/index.ts',
'./test/dist_manual/production.js',
{bundler: 'rollup'}
);
});
tap.start();