@omnia/tooling-vue
Version:
Used to bundle and serve manifests web component that build on Vue framework.
110 lines (109 loc) • 3.03 kB
TypeScript
export declare function getBaseWebpackConfigForManifestMetadata(entry: any, bundleOutputDir: any, wcDomProps: any, enableTreeShaking?: boolean): {
devtool: boolean;
mode: string;
context: any;
entry: any;
optimization: any;
resolve: {
modules: string[];
extensions: string[];
symlinks: boolean;
cacheWithContext: boolean;
descriptionFiles: string[];
alias: Object & {
tiptap$: string;
'tiptap-utils$': string;
'tiptap-extensions$': string;
'tiptap-commands$': string;
axios$: string;
typestyle$: string;
vue$: string;
'rope-sequence$': string;
'w3c-keyname$': any;
orderedmap$: string;
'@microsoft/signalr': string;
"vue-tsx-support/enable-check": any;
};
};
output: {
pathinfo: boolean;
path: any;
filename: string;
};
externals: (({ context, request }: {
context: any;
request: any;
}, callback: any) => any)[];
module: {
noParse: RegExp;
rules: ({
test: RegExp;
use: ({
loader: any;
options?: undefined;
} | {
loader: string;
options: {
loader: string;
target: string;
};
})[];
} | {
test: RegExp;
exclude: RegExp;
use: {
loader: any;
options: any;
}[];
} | {
test: RegExp;
resolve: {
fullySpecified: boolean;
};
use?: undefined;
loader?: undefined;
} | {
test: RegExp;
use: string[];
resolve?: undefined;
loader?: undefined;
} | {
test: RegExp;
use: {
loader: string;
options: {
implementation: any;
sassOptions: {
indentedSyntax: boolean;
};
};
}[];
resolve?: undefined;
loader?: undefined;
} | {
test: RegExp;
loader: string;
resolve?: undefined;
use?: undefined;
} | {
test: RegExp;
use: {
loader: string;
options: {
name: string;
outputPath: string;
publicPath: string;
};
}[];
resolve?: undefined;
loader?: undefined;
})[];
};
};
export declare function convertManifestPathToEntryPath(pathToManifest: any, pathsInManifest: Array<string>): any;
export declare const buildContext: {
isManifestsChanged: boolean;
};
export declare var cacheKeys: {
bundleManifests: string;
};