@minecraft/core-build-tasks 4.1.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,8 @@ export type BundleTaskParameters = {
15
15
  outputSourcemapPath?: string;
16
16
  /** Strip out statements with these labels. Documentation: https://esbuild.github.io/api/#drop-labels */
17
17
  dropLabels?: string[];
18
+ /** This feature lets you substitute one package (key) for another (value) when bundling. */
19
+ alias?: Record<string, string>;
18
20
  };
19
21
  export type PostProcessOutputFilesResult = {
20
22
  sourceMapDirectory: string;
@@ -1 +1,5 @@
1
- export declare function vitestTask(): () => void;
1
+ export interface VitestTaskOptions {
2
+ test?: string;
3
+ update?: boolean;
4
+ }
5
+ export declare function vitestTask(options?: VitestTaskOptions): () => Buffer<ArrayBufferLike>;