webpack-browser-extension-locales
Version:
webpack plugin to handle locale assets from browser extensions
19 lines (15 loc) • 428 B
TypeScript
import webpack from 'webpack';
interface LocalesPluginInterface {
manifestPath: string;
}
/**
* LocalesPlugin is responsible for emitting the locales files
* to the output directory.
*/
declare class LocalesPlugin {
readonly manifestPath: string;
readonly exclude?: string[];
constructor(options: LocalesPluginInterface);
apply(compiler: webpack.Compiler): void;
}
export { LocalesPlugin as default };