pilet-webpack-plugin
Version:
Webpack plugin for generating a valid pilet bundle.
8 lines (7 loc) • 571 B
TypeScript
import { Configuration } from 'webpack';
import { SharedDependency } from './types';
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 getDependencies(importmap: Array<SharedDependency>, compilerOptions: Configuration): {};
export declare function withExternals(compilerOptions: Configuration, externals: Array<string>): void;