@commercetools-frontend/mc-scripts 27.9.1 → 27.9.2
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.dev.js +1 -1
- package/application-runtime/dist/commercetools-frontend-mc-scripts-application-runtime.cjs.prod.js +1 -1
- package/application-runtime/dist/commercetools-frontend-mc-scripts-application-runtime.esm.js +1 -1
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.dev.js +16 -15
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +16 -15
- package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +16 -15
- package/dist/{build-cdeab3a8.cjs.prod.js → build-ac598c6f.cjs.prod.js} +8 -8
- package/dist/{build-5a0c84e7.esm.js → build-d46960df.esm.js} +8 -8
- package/dist/{build-b9cbc1d1.cjs.dev.js → build-d4b1fdc5.cjs.dev.js} +8 -8
- package/dist/{build-vite-ce3c4fb6.esm.js → build-vite-2ea8a241.esm.js} +14 -16
- package/dist/{build-vite-aa0e7242.cjs.prod.js → build-vite-377f721f.cjs.prod.js} +14 -16
- package/dist/{build-vite-0e8f3463.cjs.dev.js → build-vite-e4eeb1a3.cjs.dev.js} +14 -16
- 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/{compile-html-adfef598.esm.js → compile-html-025cd493.esm.js} +2 -4
- package/dist/{compile-html-b80f9651.cjs.prod.js → compile-html-50fd05ec.cjs.prod.js} +2 -5
- package/dist/{compile-html-8679f721.cjs.dev.js → compile-html-f4ac88cc.cjs.dev.js} +2 -5
- package/dist/{config-sync-2b56a941.cjs.dev.js → config-sync-1167a32c.cjs.dev.js} +17 -17
- package/dist/{config-sync-7031a7de.esm.js → config-sync-2745185a.esm.js} +17 -17
- package/dist/{config-sync-41bc7f5e.cjs.prod.js → config-sync-4b0feccb.cjs.prod.js} +17 -17
- package/dist/{config-sync-ci-6d12f2f3.cjs.dev.js → config-sync-ci-198a99b7.cjs.dev.js} +19 -25
- package/dist/{config-sync-ci-ea943de9.cjs.prod.js → config-sync-ci-59c9bb6f.cjs.prod.js} +19 -25
- package/dist/{config-sync-ci-1866c188.esm.js → config-sync-ci-9fd513b8.esm.js} +19 -24
- package/dist/{config-sync-helpers-79ccaaad.cjs.prod.js → config-sync-helpers-1f124caa.cjs.prod.js} +46 -55
- package/dist/{config-sync-helpers-36985f8c.cjs.dev.js → config-sync-helpers-41951889.cjs.dev.js} +48 -57
- package/dist/{config-sync-helpers-875ef4a4.esm.js → config-sync-helpers-6c78e679.esm.js} +47 -56
- package/dist/{create-postcss-config-1eeb3d9d.cjs.prod.js → create-postcss-config-10a7d74d.cjs.prod.js} +1 -1
- package/dist/{create-postcss-config-390e8a52.esm.js → create-postcss-config-19ba9dbb.esm.js} +1 -1
- package/dist/{create-postcss-config-13cb1cb8.cjs.dev.js → create-postcss-config-ea4e550d.cjs.dev.js} +1 -1
- package/dist/{create-webpack-config-for-development-dd95f3d5.esm.js → create-webpack-config-for-development-11a27bf0.esm.js} +7 -7
- package/dist/{create-webpack-config-for-development-6608b4e4.cjs.prod.js → create-webpack-config-for-development-32dfe76e.cjs.prod.js} +7 -7
- package/dist/{create-webpack-config-for-development-9a3a3a93.cjs.dev.js → create-webpack-config-for-development-c88f0c97.cjs.dev.js} +7 -7
- package/dist/{create-webpack-config-for-production-2e6e5036.cjs.prod.js → create-webpack-config-for-production-52b409ec.cjs.prod.js} +8 -8
- package/dist/{create-webpack-config-for-production-29b34b8c.cjs.dev.js → create-webpack-config-for-production-6a2efe24.cjs.dev.js} +8 -8
- package/dist/{create-webpack-config-for-production-31bb3d24.esm.js → create-webpack-config-for-production-70f06772.esm.js} +8 -8
- package/dist/{credentials-storage-bfaa78f0.esm.js → credentials-storage-67deadc3.esm.js} +1 -1
- package/dist/{credentials-storage-60a63c81.cjs.prod.js → credentials-storage-ea1c16dc.cjs.prod.js} +1 -1
- package/dist/{credentials-storage-1826f1a2.cjs.dev.js → credentials-storage-fd195144.cjs.dev.js} +1 -1
- package/dist/{deployment-previews-set-a04efad3.cjs.dev.js → deployment-previews-set-26fd1791.cjs.dev.js} +22 -28
- package/dist/{deployment-previews-set-410cecf1.esm.js → deployment-previews-set-3c1d36bf.esm.js} +22 -27
- package/dist/{deployment-previews-set-bebd7a04.cjs.prod.js → deployment-previews-set-64129683.cjs.prod.js} +22 -28
- package/dist/{graphql-requests-1ea68584.cjs.dev.js → graphql-requests-409eb664.cjs.dev.js} +5 -8
- package/dist/{graphql-requests-98b1b779.cjs.prod.js → graphql-requests-561ccac0.cjs.prod.js} +5 -8
- package/dist/{graphql-requests-c491206a.esm.js → graphql-requests-f6c2f942.esm.js} +5 -8
- package/dist/{i18n-message-complilation-8aec9d1b.esm.js → i18n-message-complilation-21d3b0aa.esm.js} +1 -1
- package/dist/{i18n-message-complilation-3f80e8d6.cjs.dev.js → i18n-message-complilation-7311cb29.cjs.dev.js} +1 -1
- package/dist/{i18n-message-complilation-393d344a.cjs.prod.js → i18n-message-complilation-7762da61.cjs.prod.js} +1 -1
- package/dist/{login-a99d14e6.cjs.prod.js → login-63b5a86e.cjs.prod.js} +58 -37
- package/dist/{login-cd99208a.cjs.dev.js → login-c9031d14.cjs.dev.js} +58 -37
- package/dist/{login-b935aede.esm.js → login-d164278d.esm.js} +57 -36
- package/dist/{optimizations-1b3f8157.esm.js → optimizations-54382f7b.esm.js} +5 -7
- package/dist/{optimizations-09a6638c.cjs.prod.js → optimizations-56be74d6.cjs.dev.js} +5 -8
- package/dist/{optimizations-640ffcac.cjs.dev.js → optimizations-da5a0cfa.cjs.prod.js} +5 -8
- package/dist/{package-15124b28.esm.js → package-1ae014de.esm.js} +1 -1
- package/dist/{package-98adb0d5.cjs.dev.js → package-484213a4.cjs.dev.js} +1 -1
- package/dist/{package-90af7dfe.cjs.prod.js → package-b6a1b738.cjs.prod.js} +1 -1
- package/dist/{paths-7bf7e88e.esm.js → paths-39f22b8b.esm.js} +4 -9
- package/dist/{paths-af1a725a.cjs.prod.js → paths-7768b440.cjs.prod.js} +4 -10
- package/dist/{paths-ec3e3a7d.cjs.dev.js → paths-b76fc753.cjs.dev.js} +4 -10
- package/dist/{serve-ddf30b4c.esm.js → serve-22475fec.esm.js} +13 -13
- package/dist/{serve-87ef7d4f.cjs.prod.js → serve-3837602d.cjs.prod.js} +14 -13
- package/dist/{serve-760fc169.cjs.dev.js → serve-b1c12985.cjs.dev.js} +14 -13
- package/dist/{start-08895b5f.esm.js → start-8d12a788.esm.js} +9 -10
- package/dist/{start-d9bd5dfb.cjs.prod.js → start-ad28cbc1.cjs.prod.js} +9 -10
- package/dist/{start-a0945fde.cjs.dev.js → start-ffd9a387.cjs.dev.js} +9 -10
- package/dist/{start-vite-745d3123.esm.js → start-vite-4b0df191.esm.js} +4 -5
- package/dist/{start-vite-10e49e5c.cjs.dev.js → start-vite-698c9e82.cjs.dev.js} +4 -5
- package/dist/{start-vite-00514c35.cjs.prod.js → start-vite-dd8a1e26.cjs.prod.js} +4 -5
- package/dist/{try-load-nimbus-plugins-526dccbd.esm.js → try-load-nimbus-plugins-2f528d8f.esm.js} +1 -1
- package/dist/{try-load-nimbus-plugins-59c3a594.cjs.prod.js → try-load-nimbus-plugins-a713d7d3.cjs.prod.js} +1 -1
- package/dist/{try-load-nimbus-plugins-06ce5d83.cjs.dev.js → try-load-nimbus-plugins-d502a5fe.cjs.dev.js} +1 -1
- package/dist/{vite-plugin-svgr-5de1cad9.cjs.prod.js → vite-plugin-svgr-4034a834.cjs.prod.js} +4 -4
- package/dist/{vite-plugin-svgr-53ef97c7.cjs.dev.js → vite-plugin-svgr-7d06f400.cjs.dev.js} +4 -4
- package/dist/{vite-plugin-svgr-22c8d518.esm.js → vite-plugin-svgr-de6ee7da.esm.js} +4 -4
- package/package.json +9 -9
- 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.dev.js +7 -7
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.prod.js +7 -7
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.esm.js +7 -7
- package/webpack-loaders/i18n-message-compilation-loader/dist/commercetools-frontend-mc-scripts-webpack-loaders-i18n-message-compilation-loader.cjs.dev.js +1 -1
- package/webpack-loaders/i18n-message-compilation-loader/dist/commercetools-frontend-mc-scripts-webpack-loaders-i18n-message-compilation-loader.cjs.prod.js +1 -1
- package/webpack-loaders/i18n-message-compilation-loader/dist/commercetools-frontend-mc-scripts-webpack-loaders-i18n-message-compilation-loader.esm.js +1 -1
package/application-runtime/dist/commercetools-frontend-mc-scripts-application-runtime.cjs.dev.js
CHANGED
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
// Dynamically inject webpack `publicPath`, for resolving assets locations.
|
|
5
5
|
// https://webpack.js.org/guides/public-path/#on-the-fly
|
|
6
6
|
// https://webpack.js.org/configuration/output/#output-publicpath
|
|
7
|
-
if (process.env.NODE_ENV !== 'test') __webpack_public_path__ =
|
|
7
|
+
if (process.env.NODE_ENV !== 'test') __webpack_public_path__ = `${window.app.cdnUrl.replace(/\/$/, '')}/`;
|
package/application-runtime/dist/commercetools-frontend-mc-scripts-application-runtime.cjs.prod.js
CHANGED
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
// Dynamically inject webpack `publicPath`, for resolving assets locations.
|
|
5
5
|
// https://webpack.js.org/guides/public-path/#on-the-fly
|
|
6
6
|
// https://webpack.js.org/configuration/output/#output-publicpath
|
|
7
|
-
__webpack_public_path__ =
|
|
7
|
+
__webpack_public_path__ = `${window.app.cdnUrl.replace(/\/$/, '')}/`;
|
package/application-runtime/dist/commercetools-frontend-mc-scripts-application-runtime.esm.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
// Dynamically inject webpack `publicPath`, for resolving assets locations.
|
|
3
3
|
// https://webpack.js.org/guides/public-path/#on-the-fly
|
|
4
4
|
// https://webpack.js.org/configuration/output/#output-publicpath
|
|
5
|
-
if (process.env.NODE_ENV !== 'test') __webpack_public_path__ =
|
|
5
|
+
if (process.env.NODE_ENV !== 'test') __webpack_public_path__ = `${window.app.cdnUrl.replace(/\/$/, '')}/`;
|
|
@@ -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-484213a4.cjs.dev.js');
|
|
14
14
|
var doesFileExist = require('../../dist/does-file-exist-eb86baca.cjs.dev.js');
|
|
15
15
|
require('node:fs');
|
|
16
16
|
|
|
@@ -42,8 +42,9 @@ var path__default = /*#__PURE__*/_interopDefault(path);
|
|
|
42
42
|
var dotenv__default = /*#__PURE__*/_interopDefault(dotenv);
|
|
43
43
|
var dotenvExpand__default = /*#__PURE__*/_interopDefault(dotenvExpand);
|
|
44
44
|
|
|
45
|
-
commander.program.name('mc-scripts').description('CLI to develop and build Merchant Center customizations.').version(_package.pkgJson.version).option('-e, --env <path...>',
|
|
46
|
-
|
|
45
|
+
commander.program.name('mc-scripts').description('CLI to develop and build Merchant Center customizations.').version(_package.pkgJson.version).option('-e, --env <path...>',
|
|
46
|
+
// Variadic option. It allows multiple `--env` options to be provided.
|
|
47
|
+
`(optional) Parses the file path as a dotenv file and adds the variables to the environment. Multiple flags are allowed.`);
|
|
47
48
|
|
|
48
49
|
// Makes the script crash on unhandled rejections instead of silently
|
|
49
50
|
// ignoring them. In the future, promise rejections that are not handled will
|
|
@@ -71,7 +72,7 @@ async function run() {
|
|
|
71
72
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
72
73
|
console.log('');
|
|
73
74
|
}
|
|
74
|
-
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-
|
|
75
|
+
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-698c9e82.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-ffd9a387.cjs.dev.js'); });
|
|
75
76
|
await startCommand.default();
|
|
76
77
|
});
|
|
77
78
|
|
|
@@ -90,12 +91,12 @@ async function run() {
|
|
|
90
91
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
91
92
|
console.log('');
|
|
92
93
|
}
|
|
93
|
-
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-
|
|
94
|
+
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-e4eeb1a3.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-d4b1fdc5.cjs.dev.js'); });
|
|
94
95
|
await buildCommand.default();
|
|
95
96
|
const shouldAlsoCompile = !options.buildOnly;
|
|
96
97
|
if (shouldAlsoCompile) {
|
|
97
98
|
console.log('');
|
|
98
|
-
const compileHtmlCommand = await Promise.resolve().then(function () { return require('../../dist/compile-html-
|
|
99
|
+
const compileHtmlCommand = await Promise.resolve().then(function () { return require('../../dist/compile-html-f4ac88cc.cjs.dev.js'); });
|
|
99
100
|
await compileHtmlCommand.default({
|
|
100
101
|
printSecurityHeaders: false
|
|
101
102
|
});
|
|
@@ -112,7 +113,7 @@ async function run() {
|
|
|
112
113
|
|
|
113
114
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
114
115
|
process.env.NODE_ENV = 'production';
|
|
115
|
-
const compileHtmlCommand = await Promise.resolve().then(function () { return require('../../dist/compile-html-
|
|
116
|
+
const compileHtmlCommand = await Promise.resolve().then(function () { return require('../../dist/compile-html-f4ac88cc.cjs.dev.js'); });
|
|
116
117
|
await compileHtmlCommand.default(options);
|
|
117
118
|
});
|
|
118
119
|
|
|
@@ -134,14 +135,14 @@ async function run() {
|
|
|
134
135
|
// files or `${env:...}` substitutions configured (the
|
|
135
136
|
// `application-authentication` use case).
|
|
136
137
|
const applicationConfig = handleAuthRoutes ? await (await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('@commercetools-frontend/application-config')); })).processConfig() : undefined;
|
|
137
|
-
const serveCommand = await Promise.resolve().then(function () { return require('../../dist/serve-
|
|
138
|
+
const serveCommand = await Promise.resolve().then(function () { return require('../../dist/serve-b1c12985.cjs.dev.js'); });
|
|
138
139
|
const server = await serveCommand.default({
|
|
139
140
|
handleAuthRoutes,
|
|
140
141
|
applicationConfig
|
|
141
142
|
});
|
|
142
143
|
const address = server.address();
|
|
143
144
|
const boundPort = address && typeof address === 'object' ? address.port : '?';
|
|
144
|
-
console.log(
|
|
145
|
+
console.log(`Running at http://localhost:${boundPort}`);
|
|
145
146
|
});
|
|
146
147
|
|
|
147
148
|
// Command: login
|
|
@@ -156,7 +157,7 @@ async function run() {
|
|
|
156
157
|
|
|
157
158
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
158
159
|
process.env.NODE_ENV = 'production';
|
|
159
|
-
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-
|
|
160
|
+
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-c9031d14.cjs.dev.js'); });
|
|
160
161
|
await loginCommand.default(options);
|
|
161
162
|
});
|
|
162
163
|
|
|
@@ -170,7 +171,7 @@ async function run() {
|
|
|
170
171
|
|
|
171
172
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
172
173
|
process.env.NODE_ENV = 'production';
|
|
173
|
-
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
174
|
+
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-1167a32c.cjs.dev.js'); });
|
|
174
175
|
await configSyncCommand.default(options);
|
|
175
176
|
});
|
|
176
177
|
|
|
@@ -183,7 +184,7 @@ async function run() {
|
|
|
183
184
|
|
|
184
185
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
185
186
|
process.env.NODE_ENV = 'production';
|
|
186
|
-
const configSyncCICommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-ci-
|
|
187
|
+
const configSyncCICommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-ci-198a99b7.cjs.dev.js'); });
|
|
187
188
|
await configSyncCICommand.default(options);
|
|
188
189
|
});
|
|
189
190
|
|
|
@@ -197,7 +198,7 @@ async function run() {
|
|
|
197
198
|
|
|
198
199
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
199
200
|
process.env.NODE_ENV = 'production';
|
|
200
|
-
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-
|
|
201
|
+
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-26fd1791.cjs.dev.js'); });
|
|
201
202
|
await deploymentsSetCommand.default(options);
|
|
202
203
|
});
|
|
203
204
|
commander.program.parse();
|
|
@@ -220,11 +221,11 @@ function loadDotEnvFiles(globalOptions) {
|
|
|
220
221
|
}
|
|
221
222
|
|
|
222
223
|
// https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use
|
|
223
|
-
dotenvFiles.push(..._filterInstanceProperty__default["default"](_context = [
|
|
224
|
+
dotenvFiles.push(..._filterInstanceProperty__default["default"](_context = [`.env.${environment}.local`,
|
|
224
225
|
// Don't include `.env.local` for `test` environment
|
|
225
226
|
// since normally you expect tests to produce the same
|
|
226
227
|
// results for everyone
|
|
227
|
-
process.env.NODE_ENV !== 'test' &&
|
|
228
|
+
process.env.NODE_ENV !== 'test' && `.env.local`, `.env.${environment}`, '.env']).call(_context, Boolean));
|
|
228
229
|
|
|
229
230
|
// Load environment variables from .env* files. Suppress warnings using silent
|
|
230
231
|
// if this file is missing. dotenv will never modify any environment variables
|
|
@@ -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-b6a1b738.cjs.prod.js');
|
|
14
14
|
var doesFileExist = require('../../dist/does-file-exist-be53305d.cjs.prod.js');
|
|
15
15
|
require('node:fs');
|
|
16
16
|
|
|
@@ -42,8 +42,9 @@ var path__default = /*#__PURE__*/_interopDefault(path);
|
|
|
42
42
|
var dotenv__default = /*#__PURE__*/_interopDefault(dotenv);
|
|
43
43
|
var dotenvExpand__default = /*#__PURE__*/_interopDefault(dotenvExpand);
|
|
44
44
|
|
|
45
|
-
commander.program.name('mc-scripts').description('CLI to develop and build Merchant Center customizations.').version(_package.pkgJson.version).option('-e, --env <path...>',
|
|
46
|
-
|
|
45
|
+
commander.program.name('mc-scripts').description('CLI to develop and build Merchant Center customizations.').version(_package.pkgJson.version).option('-e, --env <path...>',
|
|
46
|
+
// Variadic option. It allows multiple `--env` options to be provided.
|
|
47
|
+
`(optional) Parses the file path as a dotenv file and adds the variables to the environment. Multiple flags are allowed.`);
|
|
47
48
|
|
|
48
49
|
// Makes the script crash on unhandled rejections instead of silently
|
|
49
50
|
// ignoring them. In the future, promise rejections that are not handled will
|
|
@@ -71,7 +72,7 @@ async function run() {
|
|
|
71
72
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
72
73
|
console.log('');
|
|
73
74
|
}
|
|
74
|
-
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-
|
|
75
|
+
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-dd8a1e26.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-ad28cbc1.cjs.prod.js'); });
|
|
75
76
|
await startCommand.default();
|
|
76
77
|
});
|
|
77
78
|
|
|
@@ -90,12 +91,12 @@ async function run() {
|
|
|
90
91
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
91
92
|
console.log('');
|
|
92
93
|
}
|
|
93
|
-
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-
|
|
94
|
+
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-377f721f.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-ac598c6f.cjs.prod.js'); });
|
|
94
95
|
await buildCommand.default();
|
|
95
96
|
const shouldAlsoCompile = !options.buildOnly;
|
|
96
97
|
if (shouldAlsoCompile) {
|
|
97
98
|
console.log('');
|
|
98
|
-
const compileHtmlCommand = await Promise.resolve().then(function () { return require('../../dist/compile-html-
|
|
99
|
+
const compileHtmlCommand = await Promise.resolve().then(function () { return require('../../dist/compile-html-50fd05ec.cjs.prod.js'); });
|
|
99
100
|
await compileHtmlCommand.default({
|
|
100
101
|
printSecurityHeaders: false
|
|
101
102
|
});
|
|
@@ -112,7 +113,7 @@ async function run() {
|
|
|
112
113
|
|
|
113
114
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
114
115
|
process.env.NODE_ENV = 'production';
|
|
115
|
-
const compileHtmlCommand = await Promise.resolve().then(function () { return require('../../dist/compile-html-
|
|
116
|
+
const compileHtmlCommand = await Promise.resolve().then(function () { return require('../../dist/compile-html-50fd05ec.cjs.prod.js'); });
|
|
116
117
|
await compileHtmlCommand.default(options);
|
|
117
118
|
});
|
|
118
119
|
|
|
@@ -134,14 +135,14 @@ async function run() {
|
|
|
134
135
|
// files or `${env:...}` substitutions configured (the
|
|
135
136
|
// `application-authentication` use case).
|
|
136
137
|
const applicationConfig = handleAuthRoutes ? await (await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('@commercetools-frontend/application-config')); })).processConfig() : undefined;
|
|
137
|
-
const serveCommand = await Promise.resolve().then(function () { return require('../../dist/serve-
|
|
138
|
+
const serveCommand = await Promise.resolve().then(function () { return require('../../dist/serve-3837602d.cjs.prod.js'); });
|
|
138
139
|
const server = await serveCommand.default({
|
|
139
140
|
handleAuthRoutes,
|
|
140
141
|
applicationConfig
|
|
141
142
|
});
|
|
142
143
|
const address = server.address();
|
|
143
144
|
const boundPort = address && typeof address === 'object' ? address.port : '?';
|
|
144
|
-
console.log(
|
|
145
|
+
console.log(`Running at http://localhost:${boundPort}`);
|
|
145
146
|
});
|
|
146
147
|
|
|
147
148
|
// Command: login
|
|
@@ -156,7 +157,7 @@ async function run() {
|
|
|
156
157
|
|
|
157
158
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
158
159
|
process.env.NODE_ENV = 'production';
|
|
159
|
-
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-
|
|
160
|
+
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-63b5a86e.cjs.prod.js'); });
|
|
160
161
|
await loginCommand.default(options);
|
|
161
162
|
});
|
|
162
163
|
|
|
@@ -170,7 +171,7 @@ async function run() {
|
|
|
170
171
|
|
|
171
172
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
172
173
|
process.env.NODE_ENV = 'production';
|
|
173
|
-
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
174
|
+
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-4b0feccb.cjs.prod.js'); });
|
|
174
175
|
await configSyncCommand.default(options);
|
|
175
176
|
});
|
|
176
177
|
|
|
@@ -183,7 +184,7 @@ async function run() {
|
|
|
183
184
|
|
|
184
185
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
185
186
|
process.env.NODE_ENV = 'production';
|
|
186
|
-
const configSyncCICommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-ci-
|
|
187
|
+
const configSyncCICommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-ci-59c9bb6f.cjs.prod.js'); });
|
|
187
188
|
await configSyncCICommand.default(options);
|
|
188
189
|
});
|
|
189
190
|
|
|
@@ -197,7 +198,7 @@ async function run() {
|
|
|
197
198
|
|
|
198
199
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
199
200
|
process.env.NODE_ENV = 'production';
|
|
200
|
-
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-
|
|
201
|
+
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-64129683.cjs.prod.js'); });
|
|
201
202
|
await deploymentsSetCommand.default(options);
|
|
202
203
|
});
|
|
203
204
|
commander.program.parse();
|
|
@@ -220,11 +221,11 @@ function loadDotEnvFiles(globalOptions) {
|
|
|
220
221
|
}
|
|
221
222
|
|
|
222
223
|
// https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use
|
|
223
|
-
dotenvFiles.push(..._filterInstanceProperty__default["default"](_context = [
|
|
224
|
+
dotenvFiles.push(..._filterInstanceProperty__default["default"](_context = [`.env.${environment}.local`,
|
|
224
225
|
// Don't include `.env.local` for `test` environment
|
|
225
226
|
// since normally you expect tests to produce the same
|
|
226
227
|
// results for everyone
|
|
227
|
-
|
|
228
|
+
`.env.local`, `.env.${environment}`, '.env']).call(_context, Boolean));
|
|
228
229
|
|
|
229
230
|
// Load environment variables from .env* files. Suppress warnings using silent
|
|
230
231
|
// if this file is missing. dotenv will never modify any environment variables
|
|
@@ -6,12 +6,13 @@ 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-1ae014de.esm.js';
|
|
10
10
|
import { d as doesFileExist } from '../../dist/does-file-exist-32618334.esm.js';
|
|
11
11
|
import 'node:fs';
|
|
12
12
|
|
|
13
|
-
program.name('mc-scripts').description('CLI to develop and build Merchant Center customizations.').version(pkgJson.version).option('-e, --env <path...>',
|
|
14
|
-
|
|
13
|
+
program.name('mc-scripts').description('CLI to develop and build Merchant Center customizations.').version(pkgJson.version).option('-e, --env <path...>',
|
|
14
|
+
// Variadic option. It allows multiple `--env` options to be provided.
|
|
15
|
+
`(optional) Parses the file path as a dotenv file and adds the variables to the environment. Multiple flags are allowed.`);
|
|
15
16
|
|
|
16
17
|
// Makes the script crash on unhandled rejections instead of silently
|
|
17
18
|
// ignoring them. In the future, promise rejections that are not handled will
|
|
@@ -39,7 +40,7 @@ async function run() {
|
|
|
39
40
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
40
41
|
console.log('');
|
|
41
42
|
}
|
|
42
|
-
const startCommand = shouldUseExperimentalBundler ? await import('../../dist/start-vite-
|
|
43
|
+
const startCommand = shouldUseExperimentalBundler ? await import('../../dist/start-vite-4b0df191.esm.js') : await import('../../dist/start-8d12a788.esm.js');
|
|
43
44
|
await startCommand.default();
|
|
44
45
|
});
|
|
45
46
|
|
|
@@ -58,12 +59,12 @@ async function run() {
|
|
|
58
59
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
59
60
|
console.log('');
|
|
60
61
|
}
|
|
61
|
-
const buildCommand = shouldUseExperimentalBundler ? await import('../../dist/build-vite-
|
|
62
|
+
const buildCommand = shouldUseExperimentalBundler ? await import('../../dist/build-vite-2ea8a241.esm.js') : await import('../../dist/build-d46960df.esm.js');
|
|
62
63
|
await buildCommand.default();
|
|
63
64
|
const shouldAlsoCompile = !options.buildOnly;
|
|
64
65
|
if (shouldAlsoCompile) {
|
|
65
66
|
console.log('');
|
|
66
|
-
const compileHtmlCommand = await import('../../dist/compile-html-
|
|
67
|
+
const compileHtmlCommand = await import('../../dist/compile-html-025cd493.esm.js');
|
|
67
68
|
await compileHtmlCommand.default({
|
|
68
69
|
printSecurityHeaders: false
|
|
69
70
|
});
|
|
@@ -80,7 +81,7 @@ async function run() {
|
|
|
80
81
|
|
|
81
82
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
82
83
|
process.env.NODE_ENV = 'production';
|
|
83
|
-
const compileHtmlCommand = await import('../../dist/compile-html-
|
|
84
|
+
const compileHtmlCommand = await import('../../dist/compile-html-025cd493.esm.js');
|
|
84
85
|
await compileHtmlCommand.default(options);
|
|
85
86
|
});
|
|
86
87
|
|
|
@@ -102,14 +103,14 @@ async function run() {
|
|
|
102
103
|
// files or `${env:...}` substitutions configured (the
|
|
103
104
|
// `application-authentication` use case).
|
|
104
105
|
const applicationConfig = handleAuthRoutes ? await (await import('@commercetools-frontend/application-config')).processConfig() : undefined;
|
|
105
|
-
const serveCommand = await import('../../dist/serve-
|
|
106
|
+
const serveCommand = await import('../../dist/serve-22475fec.esm.js');
|
|
106
107
|
const server = await serveCommand.default({
|
|
107
108
|
handleAuthRoutes,
|
|
108
109
|
applicationConfig
|
|
109
110
|
});
|
|
110
111
|
const address = server.address();
|
|
111
112
|
const boundPort = address && typeof address === 'object' ? address.port : '?';
|
|
112
|
-
console.log(
|
|
113
|
+
console.log(`Running at http://localhost:${boundPort}`);
|
|
113
114
|
});
|
|
114
115
|
|
|
115
116
|
// Command: login
|
|
@@ -124,7 +125,7 @@ async function run() {
|
|
|
124
125
|
|
|
125
126
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
126
127
|
process.env.NODE_ENV = 'production';
|
|
127
|
-
const loginCommand = await import('../../dist/login-
|
|
128
|
+
const loginCommand = await import('../../dist/login-d164278d.esm.js');
|
|
128
129
|
await loginCommand.default(options);
|
|
129
130
|
});
|
|
130
131
|
|
|
@@ -138,7 +139,7 @@ async function run() {
|
|
|
138
139
|
|
|
139
140
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
140
141
|
process.env.NODE_ENV = 'production';
|
|
141
|
-
const configSyncCommand = await import('../../dist/config-sync-
|
|
142
|
+
const configSyncCommand = await import('../../dist/config-sync-2745185a.esm.js');
|
|
142
143
|
await configSyncCommand.default(options);
|
|
143
144
|
});
|
|
144
145
|
|
|
@@ -151,7 +152,7 @@ async function run() {
|
|
|
151
152
|
|
|
152
153
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
153
154
|
process.env.NODE_ENV = 'production';
|
|
154
|
-
const configSyncCICommand = await import('../../dist/config-sync-ci-
|
|
155
|
+
const configSyncCICommand = await import('../../dist/config-sync-ci-9fd513b8.esm.js');
|
|
155
156
|
await configSyncCICommand.default(options);
|
|
156
157
|
});
|
|
157
158
|
|
|
@@ -165,7 +166,7 @@ async function run() {
|
|
|
165
166
|
|
|
166
167
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
167
168
|
process.env.NODE_ENV = 'production';
|
|
168
|
-
const deploymentsSetCommand = await import('../../dist/deployment-previews-set-
|
|
169
|
+
const deploymentsSetCommand = await import('../../dist/deployment-previews-set-3c1d36bf.esm.js');
|
|
169
170
|
await deploymentsSetCommand.default(options);
|
|
170
171
|
});
|
|
171
172
|
program.parse();
|
|
@@ -188,11 +189,11 @@ function loadDotEnvFiles(globalOptions) {
|
|
|
188
189
|
}
|
|
189
190
|
|
|
190
191
|
// https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use
|
|
191
|
-
dotenvFiles.push(..._filterInstanceProperty(_context = [
|
|
192
|
+
dotenvFiles.push(..._filterInstanceProperty(_context = [`.env.${environment}.local`,
|
|
192
193
|
// Don't include `.env.local` for `test` environment
|
|
193
194
|
// since normally you expect tests to produce the same
|
|
194
195
|
// results for everyone
|
|
195
|
-
process.env.NODE_ENV !== 'test' &&
|
|
196
|
+
process.env.NODE_ENV !== 'test' && `.env.local`, `.env.${environment}`, '.env']).call(_context, Boolean));
|
|
196
197
|
|
|
197
198
|
// Load environment variables from .env* files. Suppress warnings using silent
|
|
198
199
|
// if this file is missing. dotenv will never modify any environment variables
|
|
@@ -10,8 +10,8 @@ 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-
|
|
14
|
-
var paths = require('./paths-
|
|
13
|
+
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-52b409ec.cjs.prod.js');
|
|
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');
|
|
17
17
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
@@ -34,17 +34,17 @@ require('mini-css-extract-plugin');
|
|
|
34
34
|
require('moment-locales-webpack-plugin');
|
|
35
35
|
require('terser-webpack-plugin');
|
|
36
36
|
require('webpack-bundle-analyzer');
|
|
37
|
-
require('./try-load-nimbus-plugins-
|
|
37
|
+
require('./try-load-nimbus-plugins-a713d7d3.cjs.prod.js');
|
|
38
38
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
39
39
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
40
40
|
require('@babel/runtime-corejs3/core-js-stable/instance/bind');
|
|
41
41
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
42
42
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
43
43
|
require('fs');
|
|
44
|
-
require('./create-postcss-config-
|
|
44
|
+
require('./create-postcss-config-10a7d74d.cjs.prod.js');
|
|
45
45
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
46
|
-
require('./package-
|
|
47
|
-
require('./optimizations-
|
|
46
|
+
require('./package-b6a1b738.cjs.prod.js');
|
|
47
|
+
require('./optimizations-da5a0cfa.cjs.prod.js');
|
|
48
48
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
49
49
|
require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
50
50
|
require('./vendors-to-transpile-04a49d40.cjs.prod.js');
|
|
@@ -103,7 +103,7 @@ async function run() {
|
|
|
103
103
|
if (error instanceof Error) {
|
|
104
104
|
printBuildError__default["default"](error);
|
|
105
105
|
}
|
|
106
|
-
throw new Error(
|
|
106
|
+
throw new Error(`Failed to compile`);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
// Create the production build and print the deployment instructions.
|
|
@@ -134,7 +134,7 @@ async function run() {
|
|
|
134
134
|
warnings: []
|
|
135
135
|
});
|
|
136
136
|
} else {
|
|
137
|
-
messages = formatWebpackMessages__default["default"](stats
|
|
137
|
+
messages = formatWebpackMessages__default["default"](stats?.toJson({
|
|
138
138
|
all: false,
|
|
139
139
|
warnings: true,
|
|
140
140
|
errors: true
|
|
@@ -8,8 +8,8 @@ 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-
|
|
12
|
-
import { p as paths } from './paths-
|
|
11
|
+
import { c as createWebpackConfigForProduction } from './create-webpack-config-for-production-70f06772.esm.js';
|
|
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';
|
|
15
15
|
import '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
@@ -32,17 +32,17 @@ import 'mini-css-extract-plugin';
|
|
|
32
32
|
import 'moment-locales-webpack-plugin';
|
|
33
33
|
import 'terser-webpack-plugin';
|
|
34
34
|
import 'webpack-bundle-analyzer';
|
|
35
|
-
import './try-load-nimbus-plugins-
|
|
35
|
+
import './try-load-nimbus-plugins-2f528d8f.esm.js';
|
|
36
36
|
import '@babel/runtime-corejs3/helpers/classCallCheck';
|
|
37
37
|
import '@babel/runtime-corejs3/helpers/createClass';
|
|
38
38
|
import '@babel/runtime-corejs3/core-js-stable/instance/bind';
|
|
39
39
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
40
40
|
import '@babel/runtime-corejs3/core-js-stable/object/assign';
|
|
41
41
|
import 'fs';
|
|
42
|
-
import './create-postcss-config-
|
|
42
|
+
import './create-postcss-config-19ba9dbb.esm.js';
|
|
43
43
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
44
|
-
import './package-
|
|
45
|
-
import './optimizations-
|
|
44
|
+
import './package-1ae014de.esm.js';
|
|
45
|
+
import './optimizations-54382f7b.esm.js';
|
|
46
46
|
import '@babel/runtime-corejs3/core-js-stable/object/entries';
|
|
47
47
|
import '@babel/runtime-corejs3/core-js-stable/instance/includes';
|
|
48
48
|
import './vendors-to-transpile-7dc84a72.esm.js';
|
|
@@ -89,7 +89,7 @@ async function run() {
|
|
|
89
89
|
if (error instanceof Error) {
|
|
90
90
|
printBuildError(error);
|
|
91
91
|
}
|
|
92
|
-
throw new Error(
|
|
92
|
+
throw new Error(`Failed to compile`);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
// Create the production build and print the deployment instructions.
|
|
@@ -120,7 +120,7 @@ async function run() {
|
|
|
120
120
|
warnings: []
|
|
121
121
|
});
|
|
122
122
|
} else {
|
|
123
|
-
messages = formatWebpackMessages(stats
|
|
123
|
+
messages = formatWebpackMessages(stats?.toJson({
|
|
124
124
|
all: false,
|
|
125
125
|
warnings: true,
|
|
126
126
|
errors: true
|
|
@@ -10,8 +10,8 @@ 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-
|
|
14
|
-
var paths = require('./paths-
|
|
13
|
+
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-6a2efe24.cjs.dev.js');
|
|
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');
|
|
17
17
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
@@ -34,17 +34,17 @@ require('mini-css-extract-plugin');
|
|
|
34
34
|
require('moment-locales-webpack-plugin');
|
|
35
35
|
require('terser-webpack-plugin');
|
|
36
36
|
require('webpack-bundle-analyzer');
|
|
37
|
-
require('./try-load-nimbus-plugins-
|
|
37
|
+
require('./try-load-nimbus-plugins-d502a5fe.cjs.dev.js');
|
|
38
38
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
39
39
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
40
40
|
require('@babel/runtime-corejs3/core-js-stable/instance/bind');
|
|
41
41
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
42
42
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
43
43
|
require('fs');
|
|
44
|
-
require('./create-postcss-config-
|
|
44
|
+
require('./create-postcss-config-ea4e550d.cjs.dev.js');
|
|
45
45
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
46
|
-
require('./package-
|
|
47
|
-
require('./optimizations-
|
|
46
|
+
require('./package-484213a4.cjs.dev.js');
|
|
47
|
+
require('./optimizations-56be74d6.cjs.dev.js');
|
|
48
48
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
49
49
|
require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
50
50
|
require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
|
|
@@ -103,7 +103,7 @@ async function run() {
|
|
|
103
103
|
if (error instanceof Error) {
|
|
104
104
|
printBuildError__default["default"](error);
|
|
105
105
|
}
|
|
106
|
-
throw new Error(
|
|
106
|
+
throw new Error(`Failed to compile`);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
// Create the production build and print the deployment instructions.
|
|
@@ -134,7 +134,7 @@ async function run() {
|
|
|
134
134
|
warnings: []
|
|
135
135
|
});
|
|
136
136
|
} else {
|
|
137
|
-
messages = formatWebpackMessages__default["default"](stats
|
|
137
|
+
messages = formatWebpackMessages__default["default"](stats?.toJson({
|
|
138
138
|
all: false,
|
|
139
139
|
warnings: true,
|
|
140
140
|
errors: true
|