@atlaspack/types-internal 2.12.1-dev.3466 → 2.12.1-dev.3502
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 +3 -0
- package/package.json +4 -4
- package/src/index.js +3 -0
package/lib/index.d.ts
CHANGED
|
@@ -126,6 +126,7 @@ export type PackageTargetDescriptor = {
|
|
|
126
126
|
readonly optimize?: boolean;
|
|
127
127
|
readonly scopeHoist?: boolean;
|
|
128
128
|
readonly source?: FilePath | Array<FilePath>;
|
|
129
|
+
readonly __unstable_singleFileOutput?: boolean;
|
|
129
130
|
};
|
|
130
131
|
|
|
131
132
|
/**
|
|
@@ -153,6 +154,7 @@ export type EnvironmentOptions = {
|
|
|
153
154
|
readonly shouldScopeHoist?: boolean;
|
|
154
155
|
readonly sourceMap?: TargetSourceMapOptions | null | undefined;
|
|
155
156
|
readonly loc?: SourceLocation | null | undefined;
|
|
157
|
+
readonly unstableSingleFileOutput?: boolean;
|
|
156
158
|
};
|
|
157
159
|
|
|
158
160
|
/**
|
|
@@ -196,6 +198,7 @@ export interface Environment {
|
|
|
196
198
|
readonly shouldScopeHoist: boolean;
|
|
197
199
|
readonly sourceMap: TargetSourceMapOptions | null | undefined;
|
|
198
200
|
readonly loc: SourceLocation | null | undefined;
|
|
201
|
+
readonly unstableSingleFileOutput: boolean;
|
|
199
202
|
|
|
200
203
|
/** Whether <code>context</code> specifies a browser context. */
|
|
201
204
|
isBrowser(): boolean;
|
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.3502+c2daeab5a",
|
|
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.3502+c2daeab5a",
|
|
20
|
+
"@atlaspack/feature-flags": "2.12.1-dev.3502+c2daeab5a",
|
|
21
21
|
"@parcel/source-map": "^2.1.1",
|
|
22
22
|
"utility-types": "^3.10.0"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "c2daeab5a12461903159dec34df5671eaaa9b749"
|
|
25
25
|
}
|
package/src/index.js
CHANGED
|
@@ -196,6 +196,7 @@ export type PackageTargetDescriptor = {|
|
|
|
196
196
|
+optimize?: boolean,
|
|
197
197
|
+scopeHoist?: boolean,
|
|
198
198
|
+source?: FilePath | Array<FilePath>,
|
|
199
|
+
+__unstable_singleFileOutput?: boolean,
|
|
199
200
|
|};
|
|
200
201
|
|
|
201
202
|
/**
|
|
@@ -228,6 +229,7 @@ export type EnvironmentOptions = {|
|
|
|
228
229
|
+shouldScopeHoist?: boolean,
|
|
229
230
|
+sourceMap?: ?TargetSourceMapOptions,
|
|
230
231
|
+loc?: ?SourceLocation,
|
|
232
|
+
+unstableSingleFileOutput?: boolean,
|
|
231
233
|
|};
|
|
232
234
|
|
|
233
235
|
/**
|
|
@@ -281,6 +283,7 @@ export interface Environment {
|
|
|
281
283
|
+shouldScopeHoist: boolean;
|
|
282
284
|
+sourceMap: ?TargetSourceMapOptions;
|
|
283
285
|
+loc: ?SourceLocation;
|
|
286
|
+
+unstableSingleFileOutput: boolean;
|
|
284
287
|
|
|
285
288
|
/** Whether <code>context</code> specifies a browser context. */
|
|
286
289
|
isBrowser(): boolean;
|