atlassian-webresource-webpack-plugin
Version:
Auto-generates web-resource definitions from your webpacked code, for usage in an Atlassian product or plugin.
15 lines (14 loc) • 596 B
TypeScript
import type { sources } from 'webpack';
import DllModule from 'webpack/lib/DllModule';
/**
* This module type allows inclusion of special dependencies in the webpack compilation process
* that ultimately output nothing in the compiled bundles.
*
* This is of use when including certain file types with no associated loader in the compilation process,
* as is the case with things like Atlassian Soy templates.
*/
export default class EmptyExportsModule extends DllModule {
constructor(dependency: string, type: string);
chunkCondition(): boolean;
source(): sources.RawSource;
}