@utoo/pack-shared 1.3.5-alpha.3 → 1.3.7-alpha.1
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/cjs/config.d.ts +1 -0
- package/cjs/webpackCompat.d.ts +1 -0
- package/cjs/webpackCompat.js +1 -0
- package/esm/config.d.ts +1 -0
- package/esm/webpackCompat.d.ts +1 -0
- package/esm/webpackCompat.js +1 -0
- package/package.json +1 -1
package/cjs/config.d.ts
CHANGED
package/cjs/webpackCompat.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export interface WebpackResolve {
|
|
|
36
36
|
export interface WebpackOutput {
|
|
37
37
|
path?: string;
|
|
38
38
|
publicPath?: string | ((...args: any[]) => string);
|
|
39
|
+
crossOriginLoading?: false | "anonymous" | "use-credentials";
|
|
39
40
|
filename?: string | ((...args: any[]) => string);
|
|
40
41
|
chunkFilename?: string | ((...args: any[]) => string);
|
|
41
42
|
cssFilename?: string | ((...args: any[]) => string);
|
package/cjs/webpackCompat.js
CHANGED
|
@@ -451,6 +451,7 @@ function compatOutput(webpackOutput) {
|
|
|
451
451
|
assetModuleFilename: normalizeWebpackHash(webpackOutput === null || webpackOutput === void 0 ? void 0 : webpackOutput.assetModuleFilename),
|
|
452
452
|
clean: !!(webpackOutput === null || webpackOutput === void 0 ? void 0 : webpackOutput.clean),
|
|
453
453
|
publicPath: webpackOutput === null || webpackOutput === void 0 ? void 0 : webpackOutput.publicPath,
|
|
454
|
+
crossOriginLoading: webpackOutput === null || webpackOutput === void 0 ? void 0 : webpackOutput.crossOriginLoading,
|
|
454
455
|
chunkLoadingGlobal: webpackOutput === null || webpackOutput === void 0 ? void 0 : webpackOutput.chunkLoadingGlobal,
|
|
455
456
|
};
|
|
456
457
|
}
|
package/esm/config.d.ts
CHANGED
package/esm/webpackCompat.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export interface WebpackResolve {
|
|
|
36
36
|
export interface WebpackOutput {
|
|
37
37
|
path?: string;
|
|
38
38
|
publicPath?: string | ((...args: any[]) => string);
|
|
39
|
+
crossOriginLoading?: false | "anonymous" | "use-credentials";
|
|
39
40
|
filename?: string | ((...args: any[]) => string);
|
|
40
41
|
chunkFilename?: string | ((...args: any[]) => string);
|
|
41
42
|
cssFilename?: string | ((...args: any[]) => string);
|
package/esm/webpackCompat.js
CHANGED
|
@@ -448,6 +448,7 @@ function compatOutput(webpackOutput) {
|
|
|
448
448
|
assetModuleFilename: normalizeWebpackHash(webpackOutput === null || webpackOutput === void 0 ? void 0 : webpackOutput.assetModuleFilename),
|
|
449
449
|
clean: !!(webpackOutput === null || webpackOutput === void 0 ? void 0 : webpackOutput.clean),
|
|
450
450
|
publicPath: webpackOutput === null || webpackOutput === void 0 ? void 0 : webpackOutput.publicPath,
|
|
451
|
+
crossOriginLoading: webpackOutput === null || webpackOutput === void 0 ? void 0 : webpackOutput.crossOriginLoading,
|
|
451
452
|
chunkLoadingGlobal: webpackOutput === null || webpackOutput === void 0 ? void 0 : webpackOutput.chunkLoadingGlobal,
|
|
452
453
|
};
|
|
453
454
|
}
|