@atlaspack/types-internal 2.12.1-dev.3450 → 2.12.1-dev.3466
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.
- package/lib/index.d.ts +2 -2
- package/package.json +4 -4
- package/src/index.js +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -1649,7 +1649,7 @@ export interface BundleGraph<TBundle extends Bundle> {
|
|
|
1649
1649
|
* @section bundler
|
|
1650
1650
|
*/
|
|
1651
1651
|
export type BundleResult = {
|
|
1652
|
-
readonly contents:
|
|
1652
|
+
readonly contents: Blob;
|
|
1653
1653
|
readonly ast?: AST;
|
|
1654
1654
|
readonly map?: SourceMap | null | undefined;
|
|
1655
1655
|
readonly type?: string;
|
|
@@ -1837,7 +1837,7 @@ export type Optimizer<ConfigType, BundleConfigType> = {
|
|
|
1837
1837
|
optimize(arg0: {
|
|
1838
1838
|
bundle: NamedBundle;
|
|
1839
1839
|
bundleGraph: BundleGraph<NamedBundle>;
|
|
1840
|
-
contents:
|
|
1840
|
+
contents: Blob;
|
|
1841
1841
|
map: SourceMap | null | undefined;
|
|
1842
1842
|
options: PluginOptions;
|
|
1843
1843
|
logger: PluginLogger;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/types-internal",
|
|
3
|
-
"version": "2.12.1-dev.
|
|
3
|
+
"version": "2.12.1-dev.3466+9a12fb8bd",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"check-ts": "tsc --noEmit lib/index.d.ts"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@atlaspack/diagnostic": "2.12.1-dev.
|
|
20
|
-
"@atlaspack/feature-flags": "2.12.1-dev.
|
|
19
|
+
"@atlaspack/diagnostic": "2.12.1-dev.3466+9a12fb8bd",
|
|
20
|
+
"@atlaspack/feature-flags": "2.12.1-dev.3466+9a12fb8bd",
|
|
21
21
|
"@parcel/source-map": "^2.1.1",
|
|
22
22
|
"utility-types": "^3.10.0"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "9a12fb8bd1b72e407ed043e20337dc60fbec9cbe"
|
|
25
25
|
}
|
package/src/index.js
CHANGED
|
@@ -1653,7 +1653,7 @@ export interface BundleGraph<TBundle: Bundle> {
|
|
|
1653
1653
|
* @section bundler
|
|
1654
1654
|
*/
|
|
1655
1655
|
export type BundleResult = {|
|
|
1656
|
-
+contents:
|
|
1656
|
+
+contents: Blob,
|
|
1657
1657
|
+ast?: AST,
|
|
1658
1658
|
+map?: ?SourceMap,
|
|
1659
1659
|
+type?: string,
|
|
@@ -1830,7 +1830,7 @@ export type Optimizer<ConfigType, BundleConfigType> = {|
|
|
|
1830
1830
|
optimize({|
|
|
1831
1831
|
bundle: NamedBundle,
|
|
1832
1832
|
bundleGraph: BundleGraph<NamedBundle>,
|
|
1833
|
-
contents:
|
|
1833
|
+
contents: Blob,
|
|
1834
1834
|
map: ?SourceMap,
|
|
1835
1835
|
options: PluginOptions,
|
|
1836
1836
|
logger: PluginLogger,
|