.
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* Formats the manifest depending on the environment variable
|
||||
* `NODE_ENV`. If it's set to `development`, it will return a pretty printed
|
||||
* JSON string, otherwise it will return a minified JSON string.
|
||||
*/
|
||||
export declare function formatManifest<T extends object>(manifest: T): string;
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Formats the manifest depending on the environment variable
|
||||
* `NODE_ENV`. If it's set to `development`, it will return a pretty printed
|
||||
* JSON string, otherwise it will return a minified JSON string.
|
||||
*/ "use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "formatManifest", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return formatManifest;
|
||||
}
|
||||
});
|
||||
function formatManifest(manifest) {
|
||||
return JSON.stringify(manifest, null, 2);
|
||||
}
|
||||
|
||||
//# sourceMappingURL=format-manifest.js.map
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../../src/build/manifests/formatter/format-manifest.ts"],"sourcesContent":["/**\n * Formats the manifest depending on the environment variable\n * `NODE_ENV`. If it's set to `development`, it will return a pretty printed\n * JSON string, otherwise it will return a minified JSON string.\n */\nexport function formatManifest<T extends object>(manifest: T): string {\n return JSON.stringify(manifest, null, 2)\n}\n"],"names":["formatManifest","manifest","JSON","stringify"],"mappings":"AAAA;;;;CAIC;;;;+BACeA;;;eAAAA;;;AAAT,SAASA,eAAiCC,QAAW;IAC1D,OAAOC,KAAKC,SAAS,CAACF,UAAU,MAAM;AACxC","ignoreList":[0]}
|
||||
Reference in New Issue
Block a user