Comparing version 4.1.0 to 4.1.1
import type { RollupConfig } from './rollupConfig'; | ||
export declare function buildCode(config: RollupConfig): Promise<void>; | ||
export declare function buildCode(config: RollupConfig): Promise<{ | ||
result: import('rollup').RollupOutput[]; | ||
inputOptions: import('rollup').InputOptions; | ||
outputOptions: import('rollup').OutputOptions[]; | ||
input: string[]; | ||
}>; |
10
build.js
@@ -9,5 +9,5 @@ 'use strict'; | ||
const { rollup } = await import('rollup'); | ||
const { inputOptions, outputOptions } = await rollupConfig.getRollupConfig(config); | ||
const { inputOptions, outputOptions, input } = await rollupConfig.getRollupConfig(config); | ||
const build = await rollup(inputOptions); | ||
await Promise.all( | ||
const result = await Promise.all( | ||
outputOptions.map((output) => { | ||
@@ -17,4 +17,10 @@ return build.write(output); | ||
); | ||
return { | ||
result, | ||
inputOptions, | ||
outputOptions, | ||
input | ||
}; | ||
} | ||
exports.buildCode = buildCode; |
{ | ||
"name": "bob-ts", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@types/node": "*", |
@@ -240,2 +240,3 @@ import { EsbuildPluginOptions } from 'bob-esbuild-plugin'; | ||
outputOptions: OutputOptions[]; | ||
input: string[]; | ||
}>; |
@@ -150,3 +150,4 @@ 'use strict'; | ||
inputOptions, | ||
outputOptions | ||
outputOptions, | ||
input | ||
}; | ||
@@ -153,0 +154,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
257603
1878