|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | import webpack, { AssetInfo, Chunk } from 'webpack';
|
|---|
| 2 | import { InternalOptions, Manifest } from './';
|
|---|
| 3 | export interface FileDescriptor {
|
|---|
| 4 | chunk?: ProperChunk;
|
|---|
| 5 | isAsset: Boolean;
|
|---|
| 6 | isChunk: Boolean;
|
|---|
| 7 | isInitial: Boolean;
|
|---|
| 8 | isModuleAsset: Boolean;
|
|---|
| 9 | name: string;
|
|---|
| 10 | path: string;
|
|---|
| 11 | }
|
|---|
| 12 | export interface CompilationAssetInfo extends AssetInfo {
|
|---|
| 13 | sourceFilename: string;
|
|---|
| 14 | }
|
|---|
| 15 | export interface CompilationAsset extends webpack.compilation.Asset {
|
|---|
| 16 | chunks: any[];
|
|---|
| 17 | info: CompilationAssetInfo;
|
|---|
| 18 | }
|
|---|
| 19 | export interface ProperChunk extends Chunk {
|
|---|
| 20 | auxiliaryFiles: any[];
|
|---|
| 21 | }
|
|---|
| 22 | declare const generateManifest: (compilation: webpack.compilation.Compilation, files: FileDescriptor[], { generate, seed }: InternalOptions) => Manifest;
|
|---|
| 23 | declare const reduceAssets: (files: FileDescriptor[], asset: CompilationAsset, moduleAssets: Record<any, any>) => FileDescriptor[];
|
|---|
| 24 | declare const reduceChunk: (files: FileDescriptor[], chunk: ProperChunk, options: InternalOptions, auxiliaryFiles: Record<any, any>) => FileDescriptor[];
|
|---|
| 25 | declare const transformFiles: (files: FileDescriptor[], options: InternalOptions) => FileDescriptor[];
|
|---|
| 26 | export { generateManifest, reduceAssets, reduceChunk, transformFiles };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.