fix(core): update

This commit is contained in:
Philipp Kunz 2022-03-17 08:28:11 +01:00
parent b37315b4ee
commit 98f8aad9c2

View File

@ -20,6 +20,8 @@ export class TsBundleProcess {
const esbuild = await plugins.esbuild.build({ const esbuild = await plugins.esbuild.build({
entryPoints: [fromArg], entryPoints: [fromArg],
bundle: true, bundle: true,
sourcemap: true,
format: 'esm',
outfile: toArg outfile: toArg
}); });
} }
@ -39,6 +41,9 @@ export class TsBundleProcess {
const esbuild = await plugins.esbuild.build({ const esbuild = await plugins.esbuild.build({
entryPoints: [fromArg], entryPoints: [fromArg],
bundle: true, bundle: true,
sourcemap: true,
format: 'esm',
minify: true,
outfile: toArg outfile: toArg
}); });
} }