fix(core): update

This commit is contained in:
2022-03-18 14:32:35 +01:00
parent dda03bad45
commit b0b1be70ab
12 changed files with 77 additions and 71 deletions

View File

@ -1 +1 @@
export declare const anExportedString = "exported string";
export declare const anExportedString = 'exported string';

View File

@ -6,7 +6,7 @@ import * as early from '@pushrocks/early';
early.start();
early.stop();
import {anExportedString} from './tocompile2.js';
import { anExportedString } from './tocompile2.js';
console.log(anExportedString);
class test2 {

View File

@ -5,14 +5,14 @@ import * as tsbuild from '../ts/index.js';
let assetfiles: string[] = ['./test/assets/tocompile.ts', './test/assets/tocompile2.ts'];
let assetfiles2 = {
'./test/assets/**/!(*.d.ts|*.js|output)': './test/assets/output'
'./test/assets/**/!(*.d.ts|*.js|output)': './test/assets/output',
};
tap.test('should convert files from an array with single files to output', async tools => {
tap.test('should convert files from an array with single files to output', async (tools) => {
tsbuild.compileFileArray(assetfiles, { outDir: './test/assets/output' });
});
tap.test('should convert files from an array with single files to output', async tools => {
tap.test('should convert files from an array with single files to output', async (tools) => {
tsbuild.compileGlobStringObject(assetfiles2);
});