UNPKG

st-bundle

Version:

CLI for watching and bundling SpringType projects.

25 lines (24 loc) 918 B
import { Context } from '../core/Context'; import { Package } from '../core/Package'; import { Bundle, BundleCollection } from './Bundle'; import { Concat } from '../utils/utils'; /** * Adding global settings like allowSyntheticDefaultImports and targets * @param ctx * @param bundle */ export declare function injectSettingIntoDevBundle(ctx: Context, bundle: Bundle): void; /** * Inject data into a default module * @param ctx * @param bundle */ export declare function injectSettingsIntoDefaultBundle(ctx: Context, bundle: Bundle): void; export declare function inflatePackage(ctx: Context, pkg: Package): Concat; export declare function inflateBundle(ctx: Context, bundle: Bundle): void; export declare function inflateBundles(ctx: Context, bundles: { [key: string]: Bundle; }): void; export declare function createDevBundles(ctx: Context, packages: Array<Package>): { bundles: BundleCollection; };