piral-cli-webpack5
Version:
Provides debug and build capabilities for pilets and Piral instances using Webpack v5.
10 lines (9 loc) • 759 B
TypeScript
import type { SharedDependency } from 'piral-cli';
import type { Configuration } from 'webpack';
export declare function getVariables(name: string, version: string, env: string): Record<string, string>;
export declare function setEnvironment(variables: Record<string, string>): void;
export declare function getDefineVariables(variables: Record<string, string>): {};
export declare function getShared(importmap: Array<SharedDependency>, externals: Array<string>): {};
export declare function getDependencies(importmap: Array<SharedDependency>, compilerOptions: Configuration): {};
export declare function withSetPath(compilerOptions: Configuration): void;
export declare function withExternals(compilerOptions: Configuration, externals: Array<string>): void;