-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export function build(options: BuildOptions): Promise<void>; | ||
export const DEFAULT_BUILD_OPTIONS: InternalBuildOptions; | ||
import type { BuildOptions } from './modules/shared/types'; | ||
import type { InternalBuildOptions } from './modules/shared/types'; | ||
//# sourceMappingURL=index.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export class Builder { | ||
constructor(options: FullBuildOptions); | ||
emptyOutDirectory(): Promise<void>; | ||
getFoldersAndFiles(): Promise<[string[], string[]]>; | ||
createFolderStructure(folders: string[]): Promise<void>; | ||
copyFiles(files: string[]): Promise<void>; | ||
#private; | ||
} | ||
import type { FullBuildOptions } from '../shared/types'; | ||
//# sourceMappingURL=builder.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export class Bundler { | ||
constructor(options: FullBuildOptions); | ||
getEntryPoints(files: string[]): Promise<string[]>; | ||
bundle(entryPoints: string[]): Promise<void>; | ||
#private; | ||
} | ||
import type { FullBuildOptions } from '../shared/types'; | ||
//# sourceMappingURL=bundler.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export function isLocal(filePath: unknown): boolean; | ||
export function resolvePath(root: string, from: string, to: string): string; | ||
//# sourceMappingURL=utils.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export class Cleaner { | ||
constructor(options: FullBuildOptions); | ||
cleanUp(): Promise<void>; | ||
#private; | ||
} | ||
import type { FullBuildOptions } from '../shared/types'; | ||
//# sourceMappingURL=cleaner.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export function exists(path: string): Promise<boolean>; | ||
export const BUILD_OPTIONS: FullBuildOptions; | ||
import type { FullBuildOptions } from '../shared/types'; | ||
//# sourceMappingURL=test-utils.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
export interface FileInfo { | ||
content: string; | ||
path: string; | ||
} | ||
export interface BuilderOptions { | ||
minifiableExtensions: string[]; | ||
} | ||
export interface BundlerOptions { | ||
entryDocumentExtensions: string[]; | ||
external: string[]; | ||
} | ||
export interface CleanerOptions { | ||
deletableExtensions: string[]; | ||
searchableExtensions: string[]; | ||
} | ||
export interface InternalBuildOptions { | ||
builder: BuilderOptions; | ||
bundler: BundlerOptions; | ||
cleaner: CleanerOptions; | ||
commonEsbuildOptions: import('esbuild').BuildOptions; | ||
thirdPartyModules: string[]; | ||
} | ||
export interface ExternalBuildOptions { | ||
directories: string[]; | ||
ignoreList: string[]; | ||
outDirectory: string; | ||
rootDirectory: string; | ||
} | ||
export type BuildOptions = Partial<InternalBuildOptions> & ExternalBuildOptions; | ||
export type FullBuildOptions = Required<BuildOptions>; | ||
//# sourceMappingURL=types.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.