@commercetools-frontend/mc-scripts 24.7.2 → 24.8.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.
- package/application-runtime/dist/commercetools-frontend-mc-scripts-application-runtime.cjs.d.ts +2 -2
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.d.ts +2 -2
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.dev.js +6 -6
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +6 -6
- package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +6 -6
- package/dist/{build-99f3e238.cjs.dev.js → build-02349a94.cjs.dev.js} +6 -3
- package/dist/{build-ba516c18.cjs.prod.js → build-1b9f802e.cjs.prod.js} +6 -3
- package/dist/{build-caba8ab8.esm.js → build-2839aa1a.esm.js} +6 -3
- package/dist/{build-vite-bca3d007.cjs.dev.js → build-vite-16b1a575.cjs.dev.js} +1 -1
- package/dist/{build-vite-74a64ec2.esm.js → build-vite-59e1f185.esm.js} +1 -1
- package/dist/{build-vite-fa7d8ddf.cjs.prod.js → build-vite-5d317720.cjs.prod.js} +1 -1
- package/dist/commercetools-frontend-mc-scripts.cjs.d.ts +2 -2
- package/dist/commercetools-frontend-mc-scripts.cjs.dev.js +1 -1
- package/dist/commercetools-frontend-mc-scripts.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-mc-scripts.esm.js +1 -1
- package/dist/{config-sync-d588c5b4.cjs.prod.js → config-sync-3f6ba3fa.cjs.prod.js} +6 -6
- package/dist/{config-sync-19bd6812.cjs.dev.js → config-sync-62934ba2.cjs.dev.js} +6 -6
- package/dist/{config-sync-c4903718.esm.js → config-sync-f65a2b94.esm.js} +6 -6
- package/dist/{create-postcss-config-1741b957.cjs.prod.js → create-postcss-config-0d1d884f.cjs.prod.js} +1 -1
- package/dist/{create-postcss-config-00ab8ab1.esm.js → create-postcss-config-4d15195d.esm.js} +1 -1
- package/dist/{create-postcss-config-9f5103c9.cjs.dev.js → create-postcss-config-ef1bd759.cjs.dev.js} +1 -1
- package/dist/{create-webpack-config-for-development-312e6533.esm.js → create-webpack-config-for-development-0570129a.esm.js} +2 -3
- package/dist/{create-webpack-config-for-development-f0ecff99.cjs.prod.js → create-webpack-config-for-development-7fab8c69.cjs.prod.js} +2 -3
- package/dist/{create-webpack-config-for-development-6d10870e.cjs.dev.js → create-webpack-config-for-development-f0c11f54.cjs.dev.js} +2 -3
- package/dist/{create-webpack-config-for-production-07c540fa.esm.js → create-webpack-config-for-production-053b389b.esm.js} +2 -3
- package/dist/{create-webpack-config-for-production-49455488.cjs.prod.js → create-webpack-config-for-production-154c6d75.cjs.prod.js} +2 -3
- package/dist/{create-webpack-config-for-production-6350970e.cjs.dev.js → create-webpack-config-for-production-15d0a341.cjs.dev.js} +2 -3
- package/dist/{credentials-storage-991275e2.cjs.dev.js → credentials-storage-014a9254.cjs.dev.js} +2 -3
- package/dist/{credentials-storage-8a61f2c5.esm.js → credentials-storage-0b3086a9.esm.js} +2 -3
- package/dist/{credentials-storage-e52c22a0.cjs.prod.js → credentials-storage-93e9e81b.cjs.prod.js} +2 -3
- package/dist/declarations/src/cli.d.ts +1 -1
- package/dist/declarations/src/config/create-postcss-config.d.ts +1 -1
- package/dist/declarations/src/config/create-webpack-config-for-development.d.ts +1 -1
- package/dist/declarations/src/config/create-webpack-config-for-production.d.ts +1 -1
- package/dist/declarations/src/deprecated-entry-points.d.ts +1 -1
- package/dist/declarations/src/index.d.ts +3 -3
- package/dist/declarations/src/postcss.d.ts +1 -1
- package/dist/declarations/src/webpack.d.ts +2 -2
- package/dist/{deployment-previews-set-39fd8f15.cjs.prod.js → deployment-previews-set-3b280a99.cjs.prod.js} +3 -3
- package/dist/{deployment-previews-set-b5b74413.cjs.dev.js → deployment-previews-set-b1c3d4fc.cjs.dev.js} +3 -3
- package/dist/{deployment-previews-set-74181587.esm.js → deployment-previews-set-c9874d33.esm.js} +3 -3
- package/dist/{graphql-requests-bd48bf10.esm.js → graphql-requests-85446a9d.esm.js} +1 -1
- package/dist/{graphql-requests-4ead481f.cjs.prod.js → graphql-requests-9da6059c.cjs.prod.js} +1 -1
- package/dist/{graphql-requests-e0213279.cjs.dev.js → graphql-requests-c63aa892.cjs.dev.js} +1 -1
- package/dist/{login-1b46f719.cjs.dev.js → login-2795844f.cjs.dev.js} +14 -5
- package/dist/{login-7200809e.cjs.prod.js → login-d866a881.cjs.prod.js} +14 -5
- package/dist/{login-534ea02b.esm.js → login-e80c3217.esm.js} +14 -5
- package/dist/{package-dcc3204b.cjs.prod.js → package-0c172f60.cjs.prod.js} +29 -29
- package/dist/{package-03bd6935.esm.js → package-c3e7fa66.esm.js} +29 -29
- package/dist/{package-4233654f.cjs.dev.js → package-d9e46b13.cjs.dev.js} +29 -29
- package/dist/{start-fbfdf41a.cjs.dev.js → start-0197aeb5.cjs.dev.js} +3 -3
- package/dist/{start-14cdc9d1.cjs.prod.js → start-963abe47.cjs.prod.js} +3 -3
- package/dist/{start-b0bb74a7.esm.js → start-ef449a27.esm.js} +3 -3
- package/package.json +29 -29
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.d.ts +2 -2
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.dev.js +2 -2
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.prod.js +2 -2
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.esm.js +2 -2
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.d.ts +2 -2
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.dev.js +4 -4
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.prod.js +4 -4
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.esm.js +4 -4
- package/webpack-loaders/i18n-message-compilation-loader/dist/commercetools-frontend-mc-scripts-webpack-loaders-i18n-message-compilation-loader.cjs.d.ts +3 -3
- package/application-runtime/dist/commercetools-frontend-mc-scripts-application-runtime.cjs.d.ts.map +0 -1
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.d.ts.map +0 -1
- package/dist/commercetools-frontend-mc-scripts.cjs.d.ts.map +0 -1
- package/dist/declarations/src/commands/build-vite.d.ts +0 -2
- package/dist/declarations/src/commands/build.d.ts +0 -2
- package/dist/declarations/src/commands/compile-html.d.ts +0 -3
- package/dist/declarations/src/commands/config-sync.d.ts +0 -3
- package/dist/declarations/src/commands/deployment-previews-set.d.ts +0 -3
- package/dist/declarations/src/commands/login.d.ts +0 -2
- package/dist/declarations/src/commands/serve.d.ts +0 -2
- package/dist/declarations/src/commands/start-vite.d.ts +0 -2
- package/dist/declarations/src/commands/start.d.ts +0 -2
- package/dist/declarations/src/config/has-jsx-runtime.d.ts +0 -2
- package/dist/declarations/src/config/moment-locales.d.ts +0 -2
- package/dist/declarations/src/config/optimizations.d.ts +0 -2
- package/dist/declarations/src/config/paths.d.ts +0 -12
- package/dist/declarations/src/config/webpack-dev-server.config.d.ts +0 -6
- package/dist/declarations/src/generated/core.d.ts +0 -739
- package/dist/declarations/src/generated/settings.d.ts +0 -2116
- package/dist/declarations/src/utils/auth-callback.d.ts +0 -11
- package/dist/declarations/src/utils/auth.d.ts +0 -6
- package/dist/declarations/src/utils/credentials-storage.d.ts +0 -11
- package/dist/declarations/src/utils/does-file-exist.d.ts +0 -2
- package/dist/declarations/src/utils/get-config-diff.d.ts +0 -3
- package/dist/declarations/src/utils/graphql-requests.d.ts +0 -172
- package/dist/declarations/src/utils/i18n-message-complilation.d.ts +0 -4
- package/dist/declarations/src/utils/non-nullable.d.ts +0 -1
- package/dist/declarations/src/utils/optimize-embedded-pngs.d.ts +0 -1
- package/dist/declarations/src/utils/user-agent.d.ts +0 -2
- package/dist/declarations/src/vite-plugins/vite-plugin-dynamic-base-assets-globals.d.ts +0 -3
- package/dist/declarations/src/vite-plugins/vite-plugin-i18n-message-compilation.d.ts +0 -3
- package/dist/declarations/src/vite-plugins/vite-plugin-merchant-center-customization.d.ts +0 -4
- package/dist/declarations/src/vite-plugins/vite-plugin-svgr.d.ts +0 -3
- package/dist/declarations/src/webpack-plugins/final-stats-writer-plugin.d.ts +0 -12
- package/dist/declarations/src/webpack-plugins/local-html-webpack-plugin.d.ts +0 -5
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.d.ts.map +0 -1
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.d.ts.map +0 -1
- package/webpack-loaders/i18n-message-compilation-loader/dist/commercetools-frontend-mc-scripts-webpack-loaders-i18n-message-compilation-loader.cjs.d.ts.map +0 -1
package/application-runtime/dist/commercetools-frontend-mc-scripts-application-runtime.cjs.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "../../dist/declarations/src/application-runtime";
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
export * from "../../dist/declarations/src/application-runtime.js";
|
|
2
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVyY2V0b29scy1mcm9udGVuZC1tYy1zY3JpcHRzLWFwcGxpY2F0aW9uLXJ1bnRpbWUuY2pzLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9kaXN0L2RlY2xhcmF0aW9ucy9zcmMvYXBwbGljYXRpb24tcnVudGltZS5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "../../dist/declarations/src/cli";
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
export * from "../../dist/declarations/src/cli.js";
|
|
2
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVyY2V0b29scy1mcm9udGVuZC1tYy1zY3JpcHRzLWNsaS5janMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2Rpc3QvZGVjbGFyYXRpb25zL3NyYy9jbGkuZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSJ9
|
|
@@ -10,7 +10,7 @@ var path = require('path');
|
|
|
10
10
|
var commander = require('commander');
|
|
11
11
|
var dotenv = require('dotenv');
|
|
12
12
|
var dotenvExpand = require('dotenv-expand');
|
|
13
|
-
var _package = require('../../dist/package-
|
|
13
|
+
var _package = require('../../dist/package-d9e46b13.cjs.dev.js');
|
|
14
14
|
var doesFileExist = require('../../dist/does-file-exist-eb86baca.cjs.dev.js');
|
|
15
15
|
require('node:fs');
|
|
16
16
|
|
|
@@ -54,7 +54,7 @@ async function run() {
|
|
|
54
54
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
55
55
|
console.log('');
|
|
56
56
|
}
|
|
57
|
-
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-068e9f73.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-
|
|
57
|
+
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-068e9f73.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-0197aeb5.cjs.dev.js'); });
|
|
58
58
|
await startCommand.default();
|
|
59
59
|
});
|
|
60
60
|
|
|
@@ -73,7 +73,7 @@ async function run() {
|
|
|
73
73
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
74
74
|
console.log('');
|
|
75
75
|
}
|
|
76
|
-
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-
|
|
76
|
+
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-16b1a575.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-02349a94.cjs.dev.js'); });
|
|
77
77
|
await buildCommand.default();
|
|
78
78
|
const shouldAlsoCompile = !options.buildOnly;
|
|
79
79
|
if (shouldAlsoCompile) {
|
|
@@ -123,7 +123,7 @@ async function run() {
|
|
|
123
123
|
|
|
124
124
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
125
125
|
process.env.NODE_ENV = 'production';
|
|
126
|
-
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-
|
|
126
|
+
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-2795844f.cjs.dev.js'); });
|
|
127
127
|
await loginCommand.default();
|
|
128
128
|
});
|
|
129
129
|
|
|
@@ -137,7 +137,7 @@ async function run() {
|
|
|
137
137
|
|
|
138
138
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
139
139
|
process.env.NODE_ENV = 'production';
|
|
140
|
-
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
140
|
+
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-62934ba2.cjs.dev.js'); });
|
|
141
141
|
await configSyncCommand.default(options);
|
|
142
142
|
});
|
|
143
143
|
|
|
@@ -151,7 +151,7 @@ async function run() {
|
|
|
151
151
|
|
|
152
152
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
153
153
|
process.env.NODE_ENV = 'production';
|
|
154
|
-
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-
|
|
154
|
+
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-b1c3d4fc.cjs.dev.js'); });
|
|
155
155
|
await deploymentsSetCommand.default(options);
|
|
156
156
|
});
|
|
157
157
|
commander.program.parse();
|
|
@@ -10,7 +10,7 @@ var path = require('path');
|
|
|
10
10
|
var commander = require('commander');
|
|
11
11
|
var dotenv = require('dotenv');
|
|
12
12
|
var dotenvExpand = require('dotenv-expand');
|
|
13
|
-
var _package = require('../../dist/package-
|
|
13
|
+
var _package = require('../../dist/package-0c172f60.cjs.prod.js');
|
|
14
14
|
var doesFileExist = require('../../dist/does-file-exist-be53305d.cjs.prod.js');
|
|
15
15
|
require('node:fs');
|
|
16
16
|
|
|
@@ -54,7 +54,7 @@ async function run() {
|
|
|
54
54
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
55
55
|
console.log('');
|
|
56
56
|
}
|
|
57
|
-
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-29078b3a.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-
|
|
57
|
+
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-29078b3a.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-963abe47.cjs.prod.js'); });
|
|
58
58
|
await startCommand.default();
|
|
59
59
|
});
|
|
60
60
|
|
|
@@ -73,7 +73,7 @@ async function run() {
|
|
|
73
73
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
74
74
|
console.log('');
|
|
75
75
|
}
|
|
76
|
-
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-
|
|
76
|
+
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-5d317720.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-1b9f802e.cjs.prod.js'); });
|
|
77
77
|
await buildCommand.default();
|
|
78
78
|
const shouldAlsoCompile = !options.buildOnly;
|
|
79
79
|
if (shouldAlsoCompile) {
|
|
@@ -123,7 +123,7 @@ async function run() {
|
|
|
123
123
|
|
|
124
124
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
125
125
|
process.env.NODE_ENV = 'production';
|
|
126
|
-
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-
|
|
126
|
+
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-d866a881.cjs.prod.js'); });
|
|
127
127
|
await loginCommand.default();
|
|
128
128
|
});
|
|
129
129
|
|
|
@@ -137,7 +137,7 @@ async function run() {
|
|
|
137
137
|
|
|
138
138
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
139
139
|
process.env.NODE_ENV = 'production';
|
|
140
|
-
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
140
|
+
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-3f6ba3fa.cjs.prod.js'); });
|
|
141
141
|
await configSyncCommand.default(options);
|
|
142
142
|
});
|
|
143
143
|
|
|
@@ -151,7 +151,7 @@ async function run() {
|
|
|
151
151
|
|
|
152
152
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
153
153
|
process.env.NODE_ENV = 'production';
|
|
154
|
-
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-
|
|
154
|
+
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-3b280a99.cjs.prod.js'); });
|
|
155
155
|
await deploymentsSetCommand.default(options);
|
|
156
156
|
});
|
|
157
157
|
commander.program.parse();
|
|
@@ -6,7 +6,7 @@ import path from 'path';
|
|
|
6
6
|
import { program } from 'commander';
|
|
7
7
|
import dotenv from 'dotenv';
|
|
8
8
|
import dotenvExpand from 'dotenv-expand';
|
|
9
|
-
import { p as pkgJson } from '../../dist/package-
|
|
9
|
+
import { p as pkgJson } from '../../dist/package-c3e7fa66.esm.js';
|
|
10
10
|
import { d as doesFileExist } from '../../dist/does-file-exist-32618334.esm.js';
|
|
11
11
|
import 'node:fs';
|
|
12
12
|
|
|
@@ -40,7 +40,7 @@ async function run() {
|
|
|
40
40
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
41
41
|
console.log('');
|
|
42
42
|
}
|
|
43
|
-
const startCommand = shouldUseExperimentalBundler ? await import('../../dist/start-vite-7d1161e8.esm.js') : await import('../../dist/start-
|
|
43
|
+
const startCommand = shouldUseExperimentalBundler ? await import('../../dist/start-vite-7d1161e8.esm.js') : await import('../../dist/start-ef449a27.esm.js');
|
|
44
44
|
await startCommand.default();
|
|
45
45
|
});
|
|
46
46
|
|
|
@@ -59,7 +59,7 @@ async function run() {
|
|
|
59
59
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
60
60
|
console.log('');
|
|
61
61
|
}
|
|
62
|
-
const buildCommand = shouldUseExperimentalBundler ? await import('../../dist/build-vite-
|
|
62
|
+
const buildCommand = shouldUseExperimentalBundler ? await import('../../dist/build-vite-59e1f185.esm.js') : await import('../../dist/build-2839aa1a.esm.js');
|
|
63
63
|
await buildCommand.default();
|
|
64
64
|
const shouldAlsoCompile = !options.buildOnly;
|
|
65
65
|
if (shouldAlsoCompile) {
|
|
@@ -109,7 +109,7 @@ async function run() {
|
|
|
109
109
|
|
|
110
110
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
111
111
|
process.env.NODE_ENV = 'production';
|
|
112
|
-
const loginCommand = await import('../../dist/login-
|
|
112
|
+
const loginCommand = await import('../../dist/login-e80c3217.esm.js');
|
|
113
113
|
await loginCommand.default();
|
|
114
114
|
});
|
|
115
115
|
|
|
@@ -123,7 +123,7 @@ async function run() {
|
|
|
123
123
|
|
|
124
124
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
125
125
|
process.env.NODE_ENV = 'production';
|
|
126
|
-
const configSyncCommand = await import('../../dist/config-sync-
|
|
126
|
+
const configSyncCommand = await import('../../dist/config-sync-f65a2b94.esm.js');
|
|
127
127
|
await configSyncCommand.default(options);
|
|
128
128
|
});
|
|
129
129
|
|
|
@@ -137,7 +137,7 @@ async function run() {
|
|
|
137
137
|
|
|
138
138
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
139
139
|
process.env.NODE_ENV = 'production';
|
|
140
|
-
const deploymentsSetCommand = await import('../../dist/deployment-previews-set-
|
|
140
|
+
const deploymentsSetCommand = await import('../../dist/deployment-previews-set-c9874d33.esm.js');
|
|
141
141
|
await deploymentsSetCommand.default(options);
|
|
142
142
|
});
|
|
143
143
|
program.parse();
|
|
@@ -10,7 +10,7 @@ var formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');
|
|
|
10
10
|
var printBuildError = require('react-dev-utils/printBuildError');
|
|
11
11
|
var webpack = require('webpack');
|
|
12
12
|
var assets = require('@commercetools-frontend/assets');
|
|
13
|
-
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-
|
|
13
|
+
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-15d0a341.cjs.dev.js');
|
|
14
14
|
var paths = require('./paths-b76fc753.cjs.dev.js');
|
|
15
15
|
var doesFileExist = require('./does-file-exist-eb86baca.cjs.dev.js');
|
|
16
16
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
@@ -40,9 +40,9 @@ require('@babel/runtime-corejs3/core-js-stable/instance/bind');
|
|
|
40
40
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
41
41
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
42
42
|
require('fs');
|
|
43
|
-
require('./create-postcss-config-
|
|
43
|
+
require('./create-postcss-config-ef1bd759.cjs.dev.js');
|
|
44
44
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
45
|
-
require('./package-
|
|
45
|
+
require('./package-d9e46b13.cjs.dev.js');
|
|
46
46
|
require('./has-jsx-runtime-aa5d21ee.cjs.dev.js');
|
|
47
47
|
require('./optimizations-7789145e.cjs.dev.js');
|
|
48
48
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
@@ -111,6 +111,9 @@ async function run() {
|
|
|
111
111
|
console.log('Creating an optimized production build...');
|
|
112
112
|
const config = hasWebpackConfig ? require(paths.paths.appWebpackConfig) : createWebpackConfigForProduction.createWebpackConfigForProduction();
|
|
113
113
|
const compiler = webpack__default["default"](config);
|
|
114
|
+
if (!compiler) {
|
|
115
|
+
return _Promise__default["default"].reject(new Error('Failed to create webpack compiler'));
|
|
116
|
+
}
|
|
114
117
|
return new _Promise__default["default"]((resolve, reject) => {
|
|
115
118
|
compiler.run((err, stats) => {
|
|
116
119
|
let messages;
|
|
@@ -10,7 +10,7 @@ var formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');
|
|
|
10
10
|
var printBuildError = require('react-dev-utils/printBuildError');
|
|
11
11
|
var webpack = require('webpack');
|
|
12
12
|
var assets = require('@commercetools-frontend/assets');
|
|
13
|
-
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-
|
|
13
|
+
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-154c6d75.cjs.prod.js');
|
|
14
14
|
var paths = require('./paths-7768b440.cjs.prod.js');
|
|
15
15
|
var doesFileExist = require('./does-file-exist-be53305d.cjs.prod.js');
|
|
16
16
|
require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
@@ -40,9 +40,9 @@ require('@babel/runtime-corejs3/core-js-stable/instance/bind');
|
|
|
40
40
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
41
41
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
42
42
|
require('fs');
|
|
43
|
-
require('./create-postcss-config-
|
|
43
|
+
require('./create-postcss-config-0d1d884f.cjs.prod.js');
|
|
44
44
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
45
|
-
require('./package-
|
|
45
|
+
require('./package-0c172f60.cjs.prod.js');
|
|
46
46
|
require('./has-jsx-runtime-c3202df5.cjs.prod.js');
|
|
47
47
|
require('./optimizations-fb93514f.cjs.prod.js');
|
|
48
48
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
@@ -111,6 +111,9 @@ async function run() {
|
|
|
111
111
|
console.log('Creating an optimized production build...');
|
|
112
112
|
const config = hasWebpackConfig ? require(paths.paths.appWebpackConfig) : createWebpackConfigForProduction.createWebpackConfigForProduction();
|
|
113
113
|
const compiler = webpack__default["default"](config);
|
|
114
|
+
if (!compiler) {
|
|
115
|
+
return _Promise__default["default"].reject(new Error('Failed to create webpack compiler'));
|
|
116
|
+
}
|
|
114
117
|
return new _Promise__default["default"]((resolve, reject) => {
|
|
115
118
|
compiler.run((err, stats) => {
|
|
116
119
|
let messages;
|
|
@@ -8,7 +8,7 @@ import formatWebpackMessages from 'react-dev-utils/formatWebpackMessages';
|
|
|
8
8
|
import printBuildError from 'react-dev-utils/printBuildError';
|
|
9
9
|
import webpack from 'webpack';
|
|
10
10
|
import { packageLocation } from '@commercetools-frontend/assets';
|
|
11
|
-
import { c as createWebpackConfigForProduction } from './create-webpack-config-for-production-
|
|
11
|
+
import { c as createWebpackConfigForProduction } from './create-webpack-config-for-production-053b389b.esm.js';
|
|
12
12
|
import { p as paths } from './paths-39f22b8b.esm.js';
|
|
13
13
|
import { d as doesFileExist } from './does-file-exist-32618334.esm.js';
|
|
14
14
|
import '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
@@ -38,9 +38,9 @@ import '@babel/runtime-corejs3/core-js-stable/instance/bind';
|
|
|
38
38
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
39
39
|
import '@babel/runtime-corejs3/core-js-stable/object/assign';
|
|
40
40
|
import 'fs';
|
|
41
|
-
import './create-postcss-config-
|
|
41
|
+
import './create-postcss-config-4d15195d.esm.js';
|
|
42
42
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
43
|
-
import './package-
|
|
43
|
+
import './package-c3e7fa66.esm.js';
|
|
44
44
|
import './has-jsx-runtime-e3ecb09b.esm.js';
|
|
45
45
|
import './optimizations-bf991634.esm.js';
|
|
46
46
|
import '@babel/runtime-corejs3/core-js-stable/object/entries';
|
|
@@ -97,6 +97,9 @@ async function run() {
|
|
|
97
97
|
console.log('Creating an optimized production build...');
|
|
98
98
|
const config = hasWebpackConfig ? require(paths.appWebpackConfig) : createWebpackConfigForProduction();
|
|
99
99
|
const compiler = webpack(config);
|
|
100
|
+
if (!compiler) {
|
|
101
|
+
return _Promise.reject(new Error('Failed to create webpack compiler'));
|
|
102
|
+
}
|
|
100
103
|
return new _Promise((resolve, reject) => {
|
|
101
104
|
compiler.run((err, stats) => {
|
|
102
105
|
let messages;
|
|
@@ -211,7 +211,7 @@ async function run() {
|
|
|
211
211
|
patterns: ['*.react-*.svg'],
|
|
212
212
|
verbose: true // logs the files that are removed
|
|
213
213
|
}), vitePluginDynamicBaseAssetsGlobals(), vitePluginI18nMessageCompilation(), process.env.ANALYZE_BUNDLE === 'true' && viteBundleAnalyzer.analyzer({
|
|
214
|
-
defaultSizes: '
|
|
214
|
+
defaultSizes: 'stat',
|
|
215
215
|
openAnalyzer: true
|
|
216
216
|
}), process.env.ANALYZE_BUNDLE_TREE === 'true' && rollupPluginVisualizer.visualizer({
|
|
217
217
|
open: true,
|
|
@@ -181,7 +181,7 @@ async function run() {
|
|
|
181
181
|
patterns: ['*.react-*.svg'],
|
|
182
182
|
verbose: true // logs the files that are removed
|
|
183
183
|
}), vitePluginDynamicBaseAssetsGlobals(), vitePluginI18nMessageCompilation(), process.env.ANALYZE_BUNDLE === 'true' && analyzer({
|
|
184
|
-
defaultSizes: '
|
|
184
|
+
defaultSizes: 'stat',
|
|
185
185
|
openAnalyzer: true
|
|
186
186
|
}), process.env.ANALYZE_BUNDLE_TREE === 'true' && visualizer({
|
|
187
187
|
open: true,
|
|
@@ -211,7 +211,7 @@ async function run() {
|
|
|
211
211
|
patterns: ['*.react-*.svg'],
|
|
212
212
|
verbose: true // logs the files that are removed
|
|
213
213
|
}), vitePluginDynamicBaseAssetsGlobals(), vitePluginI18nMessageCompilation(), process.env.ANALYZE_BUNDLE === 'true' && viteBundleAnalyzer.analyzer({
|
|
214
|
-
defaultSizes: '
|
|
214
|
+
defaultSizes: 'stat',
|
|
215
215
|
openAnalyzer: true
|
|
216
216
|
}), process.env.ANALYZE_BUNDLE_TREE === 'true' && rollupPluginVisualizer.visualizer({
|
|
217
217
|
open: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./declarations/src/index";
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
export * from "./declarations/src/index.js";
|
|
2
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVyY2V0b29scy1mcm9udGVuZC1tYy1zY3JpcHRzLmNqcy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi9kZWNsYXJhdGlvbnMvc3JjL2luZGV4LmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEifQ==
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vendorsToTranspile = require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
|
|
6
6
|
|
|
7
7
|
// NOTE: This string will be replaced on build time with the package version.
|
|
8
|
-
var version = "24.
|
|
8
|
+
var version = "24.8.0";
|
|
9
9
|
|
|
10
10
|
// These exports are deprecated.
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vendorsToTranspile = require('./vendors-to-transpile-04a49d40.cjs.prod.js');
|
|
6
6
|
|
|
7
7
|
// NOTE: This string will be replaced on build time with the package version.
|
|
8
|
-
var version = "24.
|
|
8
|
+
var version = "24.8.0";
|
|
9
9
|
|
|
10
10
|
// These exports are deprecated.
|
|
11
11
|
|
|
@@ -9,7 +9,7 @@ var chalk = require('chalk');
|
|
|
9
9
|
var omit = require('lodash/omit');
|
|
10
10
|
var prompts = require('prompts');
|
|
11
11
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
12
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
12
|
+
var credentialsStorage$1 = require('./credentials-storage-93e9e81b.cjs.prod.js');
|
|
13
13
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
14
14
|
var _Object$getOwnPropertyDescriptor = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor');
|
|
15
15
|
var _Object$getOwnPropertyDescriptors = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors');
|
|
@@ -21,9 +21,9 @@ var _Set = require('@babel/runtime-corejs3/core-js-stable/set');
|
|
|
21
21
|
var _forEachInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
22
22
|
var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
23
23
|
var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
24
|
-
var graphqlRequests = require('./graphql-requests-
|
|
24
|
+
var graphqlRequests = require('./graphql-requests-9da6059c.cjs.prod.js');
|
|
25
25
|
require('@commercetools/http-user-agent');
|
|
26
|
-
require('./package-
|
|
26
|
+
require('./package-0c172f60.cjs.prod.js');
|
|
27
27
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
28
28
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
29
29
|
require('@babel/runtime-corejs3/core-js-stable/date/now');
|
|
@@ -276,10 +276,10 @@ const getMainMenuLinkDiff = _ref9 => {
|
|
|
276
276
|
if (filteredMainMenuLinkDiff.length > 1) return filteredMainMenuLinkDiff.join('\n');
|
|
277
277
|
return null;
|
|
278
278
|
};
|
|
279
|
-
const getSubmenuLinksDiff =
|
|
279
|
+
const getSubmenuLinksDiff = _ref0 => {
|
|
280
280
|
var _context6;
|
|
281
|
-
let previousValue =
|
|
282
|
-
nextValue =
|
|
281
|
+
let previousValue = _ref0.previousValue,
|
|
282
|
+
nextValue = _ref0.nextValue;
|
|
283
283
|
const submenuLinksDiff = ['submenuLink changed'];
|
|
284
284
|
const mappedSubmenuLinks = _reduceInstanceProperty__default["default"](previousValue).call(previousValue, (previousSubmenuLink, currentSubmenuLink) => _objectSpread(_objectSpread({}, previousSubmenuLink), {}, {
|
|
285
285
|
[currentSubmenuLink.uriPath]: currentSubmenuLink
|
|
@@ -9,7 +9,7 @@ var chalk = require('chalk');
|
|
|
9
9
|
var omit = require('lodash/omit');
|
|
10
10
|
var prompts = require('prompts');
|
|
11
11
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
12
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
12
|
+
var credentialsStorage$1 = require('./credentials-storage-014a9254.cjs.dev.js');
|
|
13
13
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
14
14
|
var _Object$getOwnPropertyDescriptor = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor');
|
|
15
15
|
var _Object$getOwnPropertyDescriptors = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors');
|
|
@@ -21,9 +21,9 @@ var _Set = require('@babel/runtime-corejs3/core-js-stable/set');
|
|
|
21
21
|
var _forEachInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
22
22
|
var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
23
23
|
var _Object$keys = require('@babel/runtime-corejs3/core-js-stable/object/keys');
|
|
24
|
-
var graphqlRequests = require('./graphql-requests-
|
|
24
|
+
var graphqlRequests = require('./graphql-requests-c63aa892.cjs.dev.js');
|
|
25
25
|
require('@commercetools/http-user-agent');
|
|
26
|
-
require('./package-
|
|
26
|
+
require('./package-d9e46b13.cjs.dev.js');
|
|
27
27
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
28
28
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
29
29
|
require('@babel/runtime-corejs3/core-js-stable/date/now');
|
|
@@ -282,10 +282,10 @@ const getMainMenuLinkDiff = _ref9 => {
|
|
|
282
282
|
if (filteredMainMenuLinkDiff.length > 1) return filteredMainMenuLinkDiff.join('\n');
|
|
283
283
|
return null;
|
|
284
284
|
};
|
|
285
|
-
const getSubmenuLinksDiff =
|
|
285
|
+
const getSubmenuLinksDiff = _ref0 => {
|
|
286
286
|
var _context6;
|
|
287
|
-
let previousValue =
|
|
288
|
-
nextValue =
|
|
287
|
+
let previousValue = _ref0.previousValue,
|
|
288
|
+
nextValue = _ref0.nextValue;
|
|
289
289
|
const submenuLinksDiff = ['submenuLink changed'];
|
|
290
290
|
const mappedSubmenuLinks = _reduceInstanceProperty__default["default"](previousValue).call(previousValue, (previousSubmenuLink, currentSubmenuLink) => _objectSpread(_objectSpread({}, previousSubmenuLink), {}, {
|
|
291
291
|
[currentSubmenuLink.uriPath]: currentSubmenuLink
|
|
@@ -7,7 +7,7 @@ import chalk from 'chalk';
|
|
|
7
7
|
import omit from 'lodash/omit';
|
|
8
8
|
import prompts from 'prompts';
|
|
9
9
|
import { sanitizeSvg, processConfig } from '@commercetools-frontend/application-config';
|
|
10
|
-
import { C as CredentialsStorage } from './credentials-storage-
|
|
10
|
+
import { C as CredentialsStorage } from './credentials-storage-0b3086a9.esm.js';
|
|
11
11
|
import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
12
12
|
import _Object$getOwnPropertyDescriptor from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor';
|
|
13
13
|
import _Object$getOwnPropertyDescriptors from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors';
|
|
@@ -19,9 +19,9 @@ import _Set from '@babel/runtime-corejs3/core-js-stable/set';
|
|
|
19
19
|
import _forEachInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/for-each';
|
|
20
20
|
import _reduceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
21
21
|
import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys';
|
|
22
|
-
import { f as fetchCustomApplication, a as fetchUserOrganizations, c as createCustomApplication, u as updateCustomApplication, b as fetchCustomView, d as createCustomView, e as updateCustomView } from './graphql-requests-
|
|
22
|
+
import { f as fetchCustomApplication, a as fetchUserOrganizations, c as createCustomApplication, u as updateCustomApplication, b as fetchCustomView, d as createCustomView, e as updateCustomView } from './graphql-requests-85446a9d.esm.js';
|
|
23
23
|
import '@commercetools/http-user-agent';
|
|
24
|
-
import './package-
|
|
24
|
+
import './package-c3e7fa66.esm.js';
|
|
25
25
|
import '@babel/runtime-corejs3/helpers/classCallCheck';
|
|
26
26
|
import '@babel/runtime-corejs3/helpers/createClass';
|
|
27
27
|
import '@babel/runtime-corejs3/core-js-stable/date/now';
|
|
@@ -260,10 +260,10 @@ const getMainMenuLinkDiff = _ref9 => {
|
|
|
260
260
|
if (filteredMainMenuLinkDiff.length > 1) return filteredMainMenuLinkDiff.join('\n');
|
|
261
261
|
return null;
|
|
262
262
|
};
|
|
263
|
-
const getSubmenuLinksDiff =
|
|
263
|
+
const getSubmenuLinksDiff = _ref0 => {
|
|
264
264
|
var _context6;
|
|
265
|
-
let previousValue =
|
|
266
|
-
nextValue =
|
|
265
|
+
let previousValue = _ref0.previousValue,
|
|
266
|
+
nextValue = _ref0.nextValue;
|
|
267
267
|
const submenuLinksDiff = ['submenuLink changed'];
|
|
268
268
|
const mappedSubmenuLinks = _reduceInstanceProperty(previousValue).call(previousValue, (previousSubmenuLink, currentSubmenuLink) => _objectSpread(_objectSpread({}, previousSubmenuLink), {}, {
|
|
269
269
|
[currentSubmenuLink.uriPath]: currentSubmenuLink
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var _package = require('./package-
|
|
5
|
+
var _package = require('./package-0c172f60.cjs.prod.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
8
8
|
|
package/dist/{create-postcss-config-00ab8ab1.esm.js → create-postcss-config-4d15195d.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime-corejs3/helpers/esm/slicedToArray';
|
|
2
2
|
import path from 'path';
|
|
3
|
-
import { p as pkgJson } from './package-
|
|
3
|
+
import { p as pkgJson } from './package-c3e7fa66.esm.js';
|
|
4
4
|
|
|
5
5
|
// This function aims to return the same result as `require.resolve`.
|
|
6
6
|
// However, resolving a path to a `.css` file does not return the real
|
package/dist/{create-postcss-config-9f5103c9.cjs.dev.js → create-postcss-config-ef1bd759.cjs.dev.js}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _slicedToArray = require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
4
4
|
var path = require('path');
|
|
5
|
-
var _package = require('./package-
|
|
5
|
+
var _package = require('./package-d9e46b13.cjs.dev.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -23,7 +23,7 @@ import _createClass from '@babel/runtime-corejs3/helpers/esm/createClass';
|
|
|
23
23
|
import _Object$assign from '@babel/runtime-corejs3/core-js-stable/object/assign';
|
|
24
24
|
import { processConfig } from '@commercetools-frontend/application-config';
|
|
25
25
|
import { replaceHtmlPlaceholders } from '@commercetools-frontend/mc-html-template';
|
|
26
|
-
import { c as createPostcssConfig } from './create-postcss-config-
|
|
26
|
+
import { c as createPostcssConfig } from './create-postcss-config-4d15195d.esm.js';
|
|
27
27
|
import { h as hasJsxRuntime } from './has-jsx-runtime-e3ecb09b.esm.js';
|
|
28
28
|
import { g as getWepbackCacheGroups } from './optimizations-bf991634.esm.js';
|
|
29
29
|
import { p as paths } from './paths-39f22b8b.esm.js';
|
|
@@ -33,7 +33,7 @@ let LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
|
|
|
33
33
|
function LocalHtmlWebpackPlugin() {
|
|
34
34
|
_classCallCheck(this, LocalHtmlWebpackPlugin);
|
|
35
35
|
}
|
|
36
|
-
_createClass(LocalHtmlWebpackPlugin, [{
|
|
36
|
+
return _createClass(LocalHtmlWebpackPlugin, [{
|
|
37
37
|
key: "apply",
|
|
38
38
|
value: function apply(compiler) {
|
|
39
39
|
compiler.hooks.compilation.tap('LocalHtmlWebpackPlugin', compilation => {
|
|
@@ -60,7 +60,6 @@ let LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
|
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
62
|
}]);
|
|
63
|
-
return LocalHtmlWebpackPlugin;
|
|
64
63
|
}();
|
|
65
64
|
|
|
66
65
|
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -25,7 +25,7 @@ var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
|
|
|
25
25
|
var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
26
26
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
27
27
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
28
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
28
|
+
var createPostcssConfig = require('./create-postcss-config-0d1d884f.cjs.prod.js');
|
|
29
29
|
var hasJsxRuntime = require('./has-jsx-runtime-c3202df5.cjs.prod.js');
|
|
30
30
|
var optimizations = require('./optimizations-fb93514f.cjs.prod.js');
|
|
31
31
|
var paths = require('./paths-7768b440.cjs.prod.js');
|
|
@@ -58,7 +58,7 @@ let LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
|
|
|
58
58
|
function LocalHtmlWebpackPlugin() {
|
|
59
59
|
_classCallCheck(this, LocalHtmlWebpackPlugin);
|
|
60
60
|
}
|
|
61
|
-
_createClass(LocalHtmlWebpackPlugin, [{
|
|
61
|
+
return _createClass(LocalHtmlWebpackPlugin, [{
|
|
62
62
|
key: "apply",
|
|
63
63
|
value: function apply(compiler) {
|
|
64
64
|
compiler.hooks.compilation.tap('LocalHtmlWebpackPlugin', compilation => {
|
|
@@ -85,7 +85,6 @@ let LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
|
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
}]);
|
|
88
|
-
return LocalHtmlWebpackPlugin;
|
|
89
88
|
}();
|
|
90
89
|
|
|
91
90
|
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -25,7 +25,7 @@ var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
|
|
|
25
25
|
var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
26
26
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
27
27
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
28
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
28
|
+
var createPostcssConfig = require('./create-postcss-config-ef1bd759.cjs.dev.js');
|
|
29
29
|
var hasJsxRuntime = require('./has-jsx-runtime-aa5d21ee.cjs.dev.js');
|
|
30
30
|
var optimizations = require('./optimizations-7789145e.cjs.dev.js');
|
|
31
31
|
var paths = require('./paths-b76fc753.cjs.dev.js');
|
|
@@ -58,7 +58,7 @@ let LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
|
|
|
58
58
|
function LocalHtmlWebpackPlugin() {
|
|
59
59
|
_classCallCheck(this, LocalHtmlWebpackPlugin);
|
|
60
60
|
}
|
|
61
|
-
_createClass(LocalHtmlWebpackPlugin, [{
|
|
61
|
+
return _createClass(LocalHtmlWebpackPlugin, [{
|
|
62
62
|
key: "apply",
|
|
63
63
|
value: function apply(compiler) {
|
|
64
64
|
compiler.hooks.compilation.tap('LocalHtmlWebpackPlugin', compilation => {
|
|
@@ -85,7 +85,6 @@ let LocalHtmlWebpackPlugin = /*#__PURE__*/function () {
|
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
}]);
|
|
88
|
-
return LocalHtmlWebpackPlugin;
|
|
89
88
|
}();
|
|
90
89
|
|
|
91
90
|
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -27,7 +27,7 @@ import _reduceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/insta
|
|
|
27
27
|
import _Object$assign from '@babel/runtime-corejs3/core-js-stable/object/assign';
|
|
28
28
|
import fs from 'fs';
|
|
29
29
|
import path from 'path';
|
|
30
|
-
import { c as createPostcssConfig } from './create-postcss-config-
|
|
30
|
+
import { c as createPostcssConfig } from './create-postcss-config-4d15195d.esm.js';
|
|
31
31
|
import { h as hasJsxRuntime } from './has-jsx-runtime-e3ecb09b.esm.js';
|
|
32
32
|
import { g as getWepbackCacheGroups } from './optimizations-bf991634.esm.js';
|
|
33
33
|
import { p as paths } from './paths-39f22b8b.esm.js';
|
|
@@ -43,7 +43,7 @@ let FinalStatsWriterPlugin = /*#__PURE__*/function () {
|
|
|
43
43
|
if (!config) throw new Error('Missing config options');
|
|
44
44
|
this.config = config;
|
|
45
45
|
}
|
|
46
|
-
_createClass(FinalStatsWriterPlugin, [{
|
|
46
|
+
return _createClass(FinalStatsWriterPlugin, [{
|
|
47
47
|
key: "apply",
|
|
48
48
|
value: function apply(compiler) {
|
|
49
49
|
// This is the only hook that return the `stats` plugin
|
|
@@ -83,7 +83,6 @@ let FinalStatsWriterPlugin = /*#__PURE__*/function () {
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
}]);
|
|
86
|
-
return FinalStatsWriterPlugin;
|
|
87
86
|
}();
|
|
88
87
|
|
|
89
88
|
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -29,7 +29,7 @@ var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
|
|
|
29
29
|
var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
30
30
|
var fs = require('fs');
|
|
31
31
|
var path = require('path');
|
|
32
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
32
|
+
var createPostcssConfig = require('./create-postcss-config-0d1d884f.cjs.prod.js');
|
|
33
33
|
var hasJsxRuntime = require('./has-jsx-runtime-c3202df5.cjs.prod.js');
|
|
34
34
|
var optimizations = require('./optimizations-fb93514f.cjs.prod.js');
|
|
35
35
|
var paths = require('./paths-7768b440.cjs.prod.js');
|
|
@@ -73,7 +73,7 @@ let FinalStatsWriterPlugin = /*#__PURE__*/function () {
|
|
|
73
73
|
if (!config) throw new Error('Missing config options');
|
|
74
74
|
this.config = config;
|
|
75
75
|
}
|
|
76
|
-
_createClass(FinalStatsWriterPlugin, [{
|
|
76
|
+
return _createClass(FinalStatsWriterPlugin, [{
|
|
77
77
|
key: "apply",
|
|
78
78
|
value: function apply(compiler) {
|
|
79
79
|
// This is the only hook that return the `stats` plugin
|
|
@@ -113,7 +113,6 @@ let FinalStatsWriterPlugin = /*#__PURE__*/function () {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
}]);
|
|
116
|
-
return FinalStatsWriterPlugin;
|
|
117
116
|
}();
|
|
118
117
|
|
|
119
118
|
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|