@commercetools-frontend/mc-scripts 27.5.1 → 27.5.3
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/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.dev.js +19 -39
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +19 -39
- package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +11 -11
- package/dist/{build-7c7442bd.cjs.prod.js → build-BP3m-wjz.cjs.prod.js} +23 -23
- package/dist/{build-2cbde331.cjs.dev.js → build-Dq8dqtsd.cjs.dev.js} +23 -23
- package/dist/{build-4ab9306b.esm.js → build-GEMI3W9m.esm.js} +7 -7
- package/dist/{build-vite-1526e4f8.esm.js → build-vite-CO8mi4hd.esm.js} +20 -10
- package/dist/{build-vite-71889a4a.cjs.prod.js → build-vite-D67xSRU1.cjs.prod.js} +46 -36
- package/dist/{build-vite-2fb9320e.cjs.dev.js → build-vite-Dxi3rfHf.cjs.dev.js} +46 -36
- package/dist/commercetools-frontend-mc-scripts.cjs.dev.js +2 -4
- package/dist/commercetools-frontend-mc-scripts.cjs.prod.js +2 -4
- package/dist/commercetools-frontend-mc-scripts.esm.js +2 -2
- package/dist/{compile-html-025cd493.esm.js → compile-html-BVvy3IQD.esm.js} +2 -2
- package/dist/{compile-html-f4ac88cc.cjs.dev.js → compile-html-DZlUpFXg.cjs.prod.js} +8 -8
- package/dist/{compile-html-50fd05ec.cjs.prod.js → compile-html-Ds1YojsY.cjs.dev.js} +8 -8
- package/dist/{config-sync-d5c4aa9b.esm.js → config-sync-Bu7U5gn5.esm.js} +5 -5
- package/dist/{config-sync-7ae74804.cjs.dev.js → config-sync-Cd0sSSrd.cjs.dev.js} +22 -22
- package/dist/{config-sync-d3d5d721.cjs.prod.js → config-sync-D6xLjo9S.cjs.prod.js} +22 -22
- package/dist/{config-sync-ci-d3104a62.cjs.prod.js → config-sync-ci-CXgQcemF.cjs.prod.js} +21 -21
- package/dist/{config-sync-ci-9c50ed6f.esm.js → config-sync-ci-Dq7bAqeu.esm.js} +5 -5
- package/dist/{config-sync-ci-732e0c5d.cjs.dev.js → config-sync-ci-SDsF-Onw.cjs.dev.js} +21 -21
- package/dist/{config-sync-helpers-ea628bce.cjs.prod.js → config-sync-helpers-9kvPwuoy.cjs.prod.js} +47 -47
- package/dist/{config-sync-helpers-bea5f027.esm.js → config-sync-helpers-BLXJp1-D.esm.js} +3 -3
- package/dist/{config-sync-helpers-178da465.cjs.dev.js → config-sync-helpers-DUK45F_R.cjs.dev.js} +47 -47
- package/dist/{create-postcss-config-f6a5f68b.esm.js → create-postcss-config-CN9_8Usa.esm.js} +1 -1
- package/dist/{create-postcss-config-3f3bda09.cjs.prod.js → create-postcss-config-DAShdAyB.cjs.prod.js} +3 -3
- package/dist/{create-postcss-config-e4c767b4.cjs.dev.js → create-postcss-config-NN2FAhvH.cjs.dev.js} +3 -3
- package/dist/{create-webpack-config-for-development-c6e48557.esm.js → create-webpack-config-for-development-5HpRHV9G.esm.js} +5 -5
- package/dist/{create-webpack-config-for-development-4a2616e9.cjs.prod.js → create-webpack-config-for-development-CxGehl7I.cjs.prod.js} +25 -25
- package/dist/{create-webpack-config-for-development-a2df037a.cjs.dev.js → create-webpack-config-for-development-hxSNyq2_.cjs.dev.js} +25 -25
- package/dist/{create-webpack-config-for-production-04a7a9f8.esm.js → create-webpack-config-for-production-BY0UNoNz.esm.js} +5 -5
- package/dist/{create-webpack-config-for-production-443f6fe7.cjs.prod.js → create-webpack-config-for-production-CW0DlZBz.cjs.prod.js} +32 -32
- package/dist/{create-webpack-config-for-production-12e257fc.cjs.dev.js → create-webpack-config-for-production-Edp9dzmw.cjs.dev.js} +32 -32
- package/dist/{credentials-storage-fd195144.cjs.dev.js → credentials-storage-B0tDCH7i.cjs.dev.js} +10 -10
- package/dist/{credentials-storage-67deadc3.esm.js → credentials-storage-B79bb0Ns.esm.js} +1 -1
- package/dist/{credentials-storage-ea1c16dc.cjs.prod.js → credentials-storage-C3TlK0a8.cjs.prod.js} +10 -10
- package/dist/{deployment-previews-set-491442d7.cjs.dev.js → deployment-previews-set-BuHX8wKo.cjs.dev.js} +22 -22
- package/dist/{deployment-previews-set-4b020cb4.esm.js → deployment-previews-set-C2OPIfy-.esm.js} +4 -4
- package/dist/{deployment-previews-set-2b334c11.cjs.prod.js → deployment-previews-set-nvkAPwYw.cjs.prod.js} +22 -22
- package/dist/{does-file-exist-be53305d.cjs.prod.js → does-file-exist-DrcZIPe6.cjs.dev.js} +2 -2
- package/dist/{does-file-exist-eb86baca.cjs.dev.js → does-file-exist-DrcZIPe6.cjs.prod.js} +2 -2
- package/dist/{graphql-requests-bd7a3fe9.cjs.dev.js → graphql-requests-BeUd4g3v.cjs.dev.js} +9 -9
- package/dist/{graphql-requests-6ead2029.cjs.prod.js → graphql-requests-D0rtMo7K.cjs.prod.js} +9 -9
- package/dist/{graphql-requests-87338c52.esm.js → graphql-requests-DCLX_2y0.esm.js} +4 -4
- package/dist/{i18n-message-complilation-7311cb29.cjs.dev.js → i18n-message-complilation-CdVhuyWk.cjs.dev.js} +3 -3
- package/dist/{i18n-message-complilation-7762da61.cjs.prod.js → i18n-message-complilation-CdVhuyWk.cjs.prod.js} +3 -3
- package/dist/{login-2d10deff.cjs.dev.js → login-BagHOLO1.cjs.prod.js} +42 -60
- package/dist/{login-26cfe1af.cjs.prod.js → login-DKzmRa46.cjs.dev.js} +42 -60
- package/dist/{login-ab249036.esm.js → login-DZVfG3Jq.esm.js} +3 -3
- package/dist/{optimizations-da5a0cfa.cjs.prod.js → optimizations-CEaq4axa.cjs.dev.js} +8 -8
- package/dist/{optimizations-56be74d6.cjs.dev.js → optimizations-CEaq4axa.cjs.prod.js} +8 -8
- package/dist/{optimizations-54382f7b.esm.js → optimizations-Cjrg77Gu.esm.js} +1 -1
- package/dist/package-B1Y3_DDl.cjs.dev.js +17 -0
- package/dist/package-BiK3ergJ.esm.js +15 -0
- package/dist/package-DxhqRLHb.cjs.prod.js +12 -0
- package/dist/{paths-b76fc753.cjs.dev.js → paths-B0WM5jb9.cjs.dev.js} +5 -5
- package/dist/{paths-39f22b8b.esm.js → paths-Cg5Vq6RE.esm.js} +1 -1
- package/dist/{paths-7768b440.cjs.prod.js → paths-DtvtCG0U.cjs.prod.js} +5 -5
- package/dist/{serve-b1c12985.cjs.dev.js → serve-BwNRk6vi.cjs.prod.js} +13 -13
- package/dist/{serve-3837602d.cjs.prod.js → serve-BxRJOSeR.cjs.dev.js} +13 -13
- package/dist/{serve-22475fec.esm.js → serve-fXDv4-Pm.esm.js} +2 -2
- package/dist/{start-19facf6d.cjs.prod.js → start-CQgQhNhU.cjs.prod.js} +17 -17
- package/dist/{start-9b1252f9.cjs.dev.js → start-OjGog63p.cjs.dev.js} +17 -17
- package/dist/{start-3c1e5902.esm.js → start-suUcoYml.esm.js} +7 -7
- package/dist/{start-vite-7d1161e8.esm.js → start-vite-BOrX5xsW.esm.js} +3 -3
- package/dist/{start-vite-29078b3a.cjs.prod.js → start-vite-Bf9UIg63.cjs.prod.js} +14 -14
- package/dist/{start-vite-068e9f73.cjs.dev.js → start-vite-CeaoWKrT.cjs.dev.js} +14 -14
- package/dist/{vite-plugin-svgr-4034a834.cjs.prod.js → vite-plugin-svgr-CRRIY_Py.cjs.dev.js} +6 -24
- package/dist/{vite-plugin-svgr-7d06f400.cjs.dev.js → vite-plugin-svgr-CRRIY_Py.cjs.prod.js} +6 -24
- package/package.json +8 -8
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.dev.js +2 -4
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.prod.js +2 -4
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.esm.js +2 -2
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.dev.js +8 -10
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.prod.js +8 -10
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.esm.js +8 -8
- package/webpack-loaders/i18n-message-compilation-loader/dist/commercetools-frontend-mc-scripts-webpack-loaders-i18n-message-compilation-loader.cjs.dev.js +2 -2
- package/webpack-loaders/i18n-message-compilation-loader/dist/commercetools-frontend-mc-scripts-webpack-loaders-i18n-message-compilation-loader.cjs.prod.js +2 -2
- package/webpack-loaders/i18n-message-compilation-loader/dist/commercetools-frontend-mc-scripts-webpack-loaders-i18n-message-compilation-loader.esm.js +1 -1
- package/dist/package-62998a4b.cjs.prod.js +0 -167
- package/dist/package-a686a0ee.esm.js +0 -165
- package/dist/package-fe1840f3.cjs.dev.js +0 -167
- /package/dist/{does-file-exist-32618334.esm.js → does-file-exist-C7l6j7NP.esm.js} +0 -0
- /package/dist/{i18n-message-complilation-21d3b0aa.esm.js → i18n-message-complilation-BRZ7ffQI.esm.js} +0 -0
- /package/dist/{vendors-to-transpile-04a49d40.cjs.prod.js → vendors-to-transpile-DLHlk7c-.cjs.dev.js} +0 -0
- /package/dist/{vendors-to-transpile-6ab4ea06.cjs.dev.js → vendors-to-transpile-DLHlk7c-.cjs.prod.js} +0 -0
- /package/dist/{vendors-to-transpile-7dc84a72.esm.js → vendors-to-transpile-uu9TNPDO.esm.js} +0 -0
- /package/dist/{vite-plugin-svgr-de6ee7da.esm.js → vite-plugin-svgr-B1JerYlQ.esm.js} +0 -0
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var _Array$isArray = require('@babel/runtime-corejs3/core-js-stable/array/is-array');
|
|
6
4
|
var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
7
5
|
var _forEachInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
@@ -10,29 +8,11 @@ var path = require('path');
|
|
|
10
8
|
var commander = require('commander');
|
|
11
9
|
var dotenv = require('dotenv');
|
|
12
10
|
var dotenvExpand = require('dotenv-expand');
|
|
13
|
-
var _package = require('../../dist/package-
|
|
14
|
-
var doesFileExist = require('../../dist/does-file-exist-
|
|
11
|
+
var _package = require('../../dist/package-B1Y3_DDl.cjs.dev.js');
|
|
12
|
+
var doesFileExist = require('../../dist/does-file-exist-DrcZIPe6.cjs.dev.js');
|
|
15
13
|
require('node:fs');
|
|
16
14
|
|
|
17
|
-
function _interopDefault (e) { return e && e.__esModule ? e : {
|
|
18
|
-
|
|
19
|
-
function _interopNamespace(e) {
|
|
20
|
-
if (e && e.__esModule) return e;
|
|
21
|
-
var n = Object.create(null);
|
|
22
|
-
if (e) {
|
|
23
|
-
Object.keys(e).forEach(function (k) {
|
|
24
|
-
if (k !== 'default') {
|
|
25
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
26
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: function () { return e[k]; }
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
n["default"] = e;
|
|
34
|
-
return Object.freeze(n);
|
|
35
|
-
}
|
|
15
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
36
16
|
|
|
37
17
|
var _Array$isArray__default = /*#__PURE__*/_interopDefault(_Array$isArray);
|
|
38
18
|
var _filterInstanceProperty__default = /*#__PURE__*/_interopDefault(_filterInstanceProperty);
|
|
@@ -54,7 +34,7 @@ process.on('unhandledRejection', err => {
|
|
|
54
34
|
});
|
|
55
35
|
|
|
56
36
|
// Get the current directory where the CLI is executed from. Usually this is the application folder.
|
|
57
|
-
const applicationDirectory = fs__default
|
|
37
|
+
const applicationDirectory = fs__default.default.realpathSync(process.cwd());
|
|
58
38
|
async function run() {
|
|
59
39
|
// Command: start
|
|
60
40
|
commander.program.command('start').alias('dev').description('Starts the application in development mode using Webpack Dev Server.').action(async () => {
|
|
@@ -72,7 +52,7 @@ async function run() {
|
|
|
72
52
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
73
53
|
console.log('');
|
|
74
54
|
}
|
|
75
|
-
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-
|
|
55
|
+
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-CeaoWKrT.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-OjGog63p.cjs.dev.js'); });
|
|
76
56
|
await startCommand.default();
|
|
77
57
|
});
|
|
78
58
|
|
|
@@ -91,12 +71,12 @@ async function run() {
|
|
|
91
71
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
92
72
|
console.log('');
|
|
93
73
|
}
|
|
94
|
-
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-
|
|
74
|
+
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-Dxi3rfHf.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-Dq8dqtsd.cjs.dev.js'); });
|
|
95
75
|
await buildCommand.default();
|
|
96
76
|
const shouldAlsoCompile = !options.buildOnly;
|
|
97
77
|
if (shouldAlsoCompile) {
|
|
98
78
|
console.log('');
|
|
99
|
-
const compileHtmlCommand = await Promise.resolve().then(function () { return require('../../dist/compile-html-
|
|
79
|
+
const compileHtmlCommand = await Promise.resolve().then(function () { return require('../../dist/compile-html-Ds1YojsY.cjs.dev.js'); });
|
|
100
80
|
await compileHtmlCommand.default({
|
|
101
81
|
printSecurityHeaders: false
|
|
102
82
|
});
|
|
@@ -113,7 +93,7 @@ async function run() {
|
|
|
113
93
|
|
|
114
94
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
115
95
|
process.env.NODE_ENV = 'production';
|
|
116
|
-
const compileHtmlCommand = await Promise.resolve().then(function () { return require('../../dist/compile-html-
|
|
96
|
+
const compileHtmlCommand = await Promise.resolve().then(function () { return require('../../dist/compile-html-Ds1YojsY.cjs.dev.js'); });
|
|
117
97
|
await compileHtmlCommand.default(options);
|
|
118
98
|
});
|
|
119
99
|
|
|
@@ -134,8 +114,8 @@ async function run() {
|
|
|
134
114
|
// so the command can run as a pure static file server with no dotenv
|
|
135
115
|
// files or `${env:...}` substitutions configured (the
|
|
136
116
|
// `application-authentication` use case).
|
|
137
|
-
const applicationConfig = handleAuthRoutes ? await (await
|
|
138
|
-
const serveCommand = await Promise.resolve().then(function () { return require('../../dist/serve-
|
|
117
|
+
const applicationConfig = handleAuthRoutes ? await (await import('@commercetools-frontend/application-config')).processConfig() : undefined;
|
|
118
|
+
const serveCommand = await Promise.resolve().then(function () { return require('../../dist/serve-BxRJOSeR.cjs.dev.js'); });
|
|
139
119
|
const server = await serveCommand.default({
|
|
140
120
|
handleAuthRoutes,
|
|
141
121
|
applicationConfig
|
|
@@ -157,7 +137,7 @@ async function run() {
|
|
|
157
137
|
|
|
158
138
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
159
139
|
process.env.NODE_ENV = 'production';
|
|
160
|
-
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-
|
|
140
|
+
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-DKzmRa46.cjs.dev.js'); });
|
|
161
141
|
await loginCommand.default(options);
|
|
162
142
|
});
|
|
163
143
|
|
|
@@ -171,7 +151,7 @@ async function run() {
|
|
|
171
151
|
|
|
172
152
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
173
153
|
process.env.NODE_ENV = 'production';
|
|
174
|
-
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
154
|
+
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-Cd0sSSrd.cjs.dev.js'); });
|
|
175
155
|
await configSyncCommand.default(options);
|
|
176
156
|
});
|
|
177
157
|
|
|
@@ -184,7 +164,7 @@ async function run() {
|
|
|
184
164
|
|
|
185
165
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
186
166
|
process.env.NODE_ENV = 'production';
|
|
187
|
-
const configSyncCICommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-ci-
|
|
167
|
+
const configSyncCICommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-ci-SDsF-Onw.cjs.dev.js'); });
|
|
188
168
|
await configSyncCICommand.default(options);
|
|
189
169
|
});
|
|
190
170
|
|
|
@@ -198,7 +178,7 @@ async function run() {
|
|
|
198
178
|
|
|
199
179
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
200
180
|
process.env.NODE_ENV = 'production';
|
|
201
|
-
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-
|
|
181
|
+
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-BuHX8wKo.cjs.dev.js'); });
|
|
202
182
|
await deploymentsSetCommand.default(options);
|
|
203
183
|
});
|
|
204
184
|
commander.program.parse();
|
|
@@ -215,13 +195,13 @@ function loadDotEnvFiles(globalOptions) {
|
|
|
215
195
|
// Custom dotenv files specified by the `--env` option takes precedence.
|
|
216
196
|
if (typeof globalOptions.env === 'string') {
|
|
217
197
|
dotenvFiles.push(globalOptions.env);
|
|
218
|
-
} else if (_Array$isArray__default
|
|
198
|
+
} else if (_Array$isArray__default.default(globalOptions.env)) {
|
|
219
199
|
// Multiple `--env` options are allowed.
|
|
220
200
|
dotenvFiles.push(...globalOptions.env);
|
|
221
201
|
}
|
|
222
202
|
|
|
223
203
|
// https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use
|
|
224
|
-
dotenvFiles.push(..._filterInstanceProperty__default
|
|
204
|
+
dotenvFiles.push(..._filterInstanceProperty__default.default(_context = [`.env.${environment}.local`,
|
|
225
205
|
// Don't include `.env.local` for `test` environment
|
|
226
206
|
// since normally you expect tests to produce the same
|
|
227
207
|
// results for everyone
|
|
@@ -232,10 +212,10 @@ function loadDotEnvFiles(globalOptions) {
|
|
|
232
212
|
// that have already been set. Variable expansion is supported in .env files.
|
|
233
213
|
// https://github.com/motdotla/dotenv
|
|
234
214
|
// https://github.com/motdotla/dotenv-expand
|
|
235
|
-
_forEachInstanceProperty__default
|
|
236
|
-
const dotenvFilePath = path__default
|
|
215
|
+
_forEachInstanceProperty__default.default(dotenvFiles).call(dotenvFiles, dotenvFile => {
|
|
216
|
+
const dotenvFilePath = path__default.default.resolve(path__default.default.join(applicationDirectory, dotenvFile));
|
|
237
217
|
if (doesFileExist.doesFileExist(dotenvFilePath)) {
|
|
238
|
-
dotenvExpand__default
|
|
218
|
+
dotenvExpand__default.default.expand(dotenv__default.default.config({
|
|
239
219
|
path: dotenvFilePath
|
|
240
220
|
}));
|
|
241
221
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var _Array$isArray = require('@babel/runtime-corejs3/core-js-stable/array/is-array');
|
|
6
4
|
var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
7
5
|
var _forEachInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
@@ -10,29 +8,11 @@ var path = require('path');
|
|
|
10
8
|
var commander = require('commander');
|
|
11
9
|
var dotenv = require('dotenv');
|
|
12
10
|
var dotenvExpand = require('dotenv-expand');
|
|
13
|
-
var _package = require('../../dist/package-
|
|
14
|
-
var doesFileExist = require('../../dist/does-file-exist-
|
|
11
|
+
var _package = require('../../dist/package-DxhqRLHb.cjs.prod.js');
|
|
12
|
+
var doesFileExist = require('../../dist/does-file-exist-DrcZIPe6.cjs.prod.js');
|
|
15
13
|
require('node:fs');
|
|
16
14
|
|
|
17
|
-
function _interopDefault (e) { return e && e.__esModule ? e : {
|
|
18
|
-
|
|
19
|
-
function _interopNamespace(e) {
|
|
20
|
-
if (e && e.__esModule) return e;
|
|
21
|
-
var n = Object.create(null);
|
|
22
|
-
if (e) {
|
|
23
|
-
Object.keys(e).forEach(function (k) {
|
|
24
|
-
if (k !== 'default') {
|
|
25
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
26
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: function () { return e[k]; }
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
n["default"] = e;
|
|
34
|
-
return Object.freeze(n);
|
|
35
|
-
}
|
|
15
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
36
16
|
|
|
37
17
|
var _Array$isArray__default = /*#__PURE__*/_interopDefault(_Array$isArray);
|
|
38
18
|
var _filterInstanceProperty__default = /*#__PURE__*/_interopDefault(_filterInstanceProperty);
|
|
@@ -54,7 +34,7 @@ process.on('unhandledRejection', err => {
|
|
|
54
34
|
});
|
|
55
35
|
|
|
56
36
|
// Get the current directory where the CLI is executed from. Usually this is the application folder.
|
|
57
|
-
const applicationDirectory = fs__default
|
|
37
|
+
const applicationDirectory = fs__default.default.realpathSync(process.cwd());
|
|
58
38
|
async function run() {
|
|
59
39
|
// Command: start
|
|
60
40
|
commander.program.command('start').alias('dev').description('Starts the application in development mode using Webpack Dev Server.').action(async () => {
|
|
@@ -72,7 +52,7 @@ async function run() {
|
|
|
72
52
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
73
53
|
console.log('');
|
|
74
54
|
}
|
|
75
|
-
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-
|
|
55
|
+
const startCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/start-vite-Bf9UIg63.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-CQgQhNhU.cjs.prod.js'); });
|
|
76
56
|
await startCommand.default();
|
|
77
57
|
});
|
|
78
58
|
|
|
@@ -91,12 +71,12 @@ async function run() {
|
|
|
91
71
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
92
72
|
console.log('');
|
|
93
73
|
}
|
|
94
|
-
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-
|
|
74
|
+
const buildCommand = shouldUseExperimentalBundler ? await Promise.resolve().then(function () { return require('../../dist/build-vite-D67xSRU1.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-BP3m-wjz.cjs.prod.js'); });
|
|
95
75
|
await buildCommand.default();
|
|
96
76
|
const shouldAlsoCompile = !options.buildOnly;
|
|
97
77
|
if (shouldAlsoCompile) {
|
|
98
78
|
console.log('');
|
|
99
|
-
const compileHtmlCommand = await Promise.resolve().then(function () { return require('../../dist/compile-html-
|
|
79
|
+
const compileHtmlCommand = await Promise.resolve().then(function () { return require('../../dist/compile-html-DZlUpFXg.cjs.prod.js'); });
|
|
100
80
|
await compileHtmlCommand.default({
|
|
101
81
|
printSecurityHeaders: false
|
|
102
82
|
});
|
|
@@ -113,7 +93,7 @@ async function run() {
|
|
|
113
93
|
|
|
114
94
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
115
95
|
process.env.NODE_ENV = 'production';
|
|
116
|
-
const compileHtmlCommand = await Promise.resolve().then(function () { return require('../../dist/compile-html-
|
|
96
|
+
const compileHtmlCommand = await Promise.resolve().then(function () { return require('../../dist/compile-html-DZlUpFXg.cjs.prod.js'); });
|
|
117
97
|
await compileHtmlCommand.default(options);
|
|
118
98
|
});
|
|
119
99
|
|
|
@@ -134,8 +114,8 @@ async function run() {
|
|
|
134
114
|
// so the command can run as a pure static file server with no dotenv
|
|
135
115
|
// files or `${env:...}` substitutions configured (the
|
|
136
116
|
// `application-authentication` use case).
|
|
137
|
-
const applicationConfig = handleAuthRoutes ? await (await
|
|
138
|
-
const serveCommand = await Promise.resolve().then(function () { return require('../../dist/serve-
|
|
117
|
+
const applicationConfig = handleAuthRoutes ? await (await import('@commercetools-frontend/application-config')).processConfig() : undefined;
|
|
118
|
+
const serveCommand = await Promise.resolve().then(function () { return require('../../dist/serve-BwNRk6vi.cjs.prod.js'); });
|
|
139
119
|
const server = await serveCommand.default({
|
|
140
120
|
handleAuthRoutes,
|
|
141
121
|
applicationConfig
|
|
@@ -157,7 +137,7 @@ async function run() {
|
|
|
157
137
|
|
|
158
138
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
159
139
|
process.env.NODE_ENV = 'production';
|
|
160
|
-
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-
|
|
140
|
+
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-BagHOLO1.cjs.prod.js'); });
|
|
161
141
|
await loginCommand.default(options);
|
|
162
142
|
});
|
|
163
143
|
|
|
@@ -171,7 +151,7 @@ async function run() {
|
|
|
171
151
|
|
|
172
152
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
173
153
|
process.env.NODE_ENV = 'production';
|
|
174
|
-
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
154
|
+
const configSyncCommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-D6xLjo9S.cjs.prod.js'); });
|
|
175
155
|
await configSyncCommand.default(options);
|
|
176
156
|
});
|
|
177
157
|
|
|
@@ -184,7 +164,7 @@ async function run() {
|
|
|
184
164
|
|
|
185
165
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
186
166
|
process.env.NODE_ENV = 'production';
|
|
187
|
-
const configSyncCICommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-ci-
|
|
167
|
+
const configSyncCICommand = await Promise.resolve().then(function () { return require('../../dist/config-sync-ci-CXgQcemF.cjs.prod.js'); });
|
|
188
168
|
await configSyncCICommand.default(options);
|
|
189
169
|
});
|
|
190
170
|
|
|
@@ -198,7 +178,7 @@ async function run() {
|
|
|
198
178
|
|
|
199
179
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
200
180
|
process.env.NODE_ENV = 'production';
|
|
201
|
-
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-
|
|
181
|
+
const deploymentsSetCommand = await Promise.resolve().then(function () { return require('../../dist/deployment-previews-set-nvkAPwYw.cjs.prod.js'); });
|
|
202
182
|
await deploymentsSetCommand.default(options);
|
|
203
183
|
});
|
|
204
184
|
commander.program.parse();
|
|
@@ -215,13 +195,13 @@ function loadDotEnvFiles(globalOptions) {
|
|
|
215
195
|
// Custom dotenv files specified by the `--env` option takes precedence.
|
|
216
196
|
if (typeof globalOptions.env === 'string') {
|
|
217
197
|
dotenvFiles.push(globalOptions.env);
|
|
218
|
-
} else if (_Array$isArray__default
|
|
198
|
+
} else if (_Array$isArray__default.default(globalOptions.env)) {
|
|
219
199
|
// Multiple `--env` options are allowed.
|
|
220
200
|
dotenvFiles.push(...globalOptions.env);
|
|
221
201
|
}
|
|
222
202
|
|
|
223
203
|
// https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use
|
|
224
|
-
dotenvFiles.push(..._filterInstanceProperty__default
|
|
204
|
+
dotenvFiles.push(..._filterInstanceProperty__default.default(_context = [`.env.${environment}.local`,
|
|
225
205
|
// Don't include `.env.local` for `test` environment
|
|
226
206
|
// since normally you expect tests to produce the same
|
|
227
207
|
// results for everyone
|
|
@@ -232,10 +212,10 @@ function loadDotEnvFiles(globalOptions) {
|
|
|
232
212
|
// that have already been set. Variable expansion is supported in .env files.
|
|
233
213
|
// https://github.com/motdotla/dotenv
|
|
234
214
|
// https://github.com/motdotla/dotenv-expand
|
|
235
|
-
_forEachInstanceProperty__default
|
|
236
|
-
const dotenvFilePath = path__default
|
|
215
|
+
_forEachInstanceProperty__default.default(dotenvFiles).call(dotenvFiles, dotenvFile => {
|
|
216
|
+
const dotenvFilePath = path__default.default.resolve(path__default.default.join(applicationDirectory, dotenvFile));
|
|
237
217
|
if (doesFileExist.doesFileExist(dotenvFilePath)) {
|
|
238
|
-
dotenvExpand__default
|
|
218
|
+
dotenvExpand__default.default.expand(dotenv__default.default.config({
|
|
239
219
|
path: dotenvFilePath
|
|
240
220
|
}));
|
|
241
221
|
}
|
|
@@ -6,8 +6,8 @@ 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-
|
|
10
|
-
import { d as doesFileExist } from '../../dist/does-file-exist-
|
|
9
|
+
import { p as pkgJson } from '../../dist/package-BiK3ergJ.esm.js';
|
|
10
|
+
import { d as doesFileExist } from '../../dist/does-file-exist-C7l6j7NP.esm.js';
|
|
11
11
|
import 'node:fs';
|
|
12
12
|
|
|
13
13
|
program.name('mc-scripts').description('CLI to develop and build Merchant Center customizations.').version(pkgJson.version).option('-e, --env <path...>',
|
|
@@ -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-
|
|
43
|
+
const startCommand = shouldUseExperimentalBundler ? await import('../../dist/start-vite-BOrX5xsW.esm.js') : await import('../../dist/start-suUcoYml.esm.js');
|
|
44
44
|
await startCommand.default();
|
|
45
45
|
});
|
|
46
46
|
|
|
@@ -59,12 +59,12 @@ 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-CO8mi4hd.esm.js') : await import('../../dist/build-GEMI3W9m.esm.js');
|
|
63
63
|
await buildCommand.default();
|
|
64
64
|
const shouldAlsoCompile = !options.buildOnly;
|
|
65
65
|
if (shouldAlsoCompile) {
|
|
66
66
|
console.log('');
|
|
67
|
-
const compileHtmlCommand = await import('../../dist/compile-html-
|
|
67
|
+
const compileHtmlCommand = await import('../../dist/compile-html-BVvy3IQD.esm.js');
|
|
68
68
|
await compileHtmlCommand.default({
|
|
69
69
|
printSecurityHeaders: false
|
|
70
70
|
});
|
|
@@ -81,7 +81,7 @@ async function run() {
|
|
|
81
81
|
|
|
82
82
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
83
83
|
process.env.NODE_ENV = 'production';
|
|
84
|
-
const compileHtmlCommand = await import('../../dist/compile-html-
|
|
84
|
+
const compileHtmlCommand = await import('../../dist/compile-html-BVvy3IQD.esm.js');
|
|
85
85
|
await compileHtmlCommand.default(options);
|
|
86
86
|
});
|
|
87
87
|
|
|
@@ -103,7 +103,7 @@ async function run() {
|
|
|
103
103
|
// files or `${env:...}` substitutions configured (the
|
|
104
104
|
// `application-authentication` use case).
|
|
105
105
|
const applicationConfig = handleAuthRoutes ? await (await import('@commercetools-frontend/application-config')).processConfig() : undefined;
|
|
106
|
-
const serveCommand = await import('../../dist/serve-
|
|
106
|
+
const serveCommand = await import('../../dist/serve-fXDv4-Pm.esm.js');
|
|
107
107
|
const server = await serveCommand.default({
|
|
108
108
|
handleAuthRoutes,
|
|
109
109
|
applicationConfig
|
|
@@ -125,7 +125,7 @@ async function run() {
|
|
|
125
125
|
|
|
126
126
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
127
127
|
process.env.NODE_ENV = 'production';
|
|
128
|
-
const loginCommand = await import('../../dist/login-
|
|
128
|
+
const loginCommand = await import('../../dist/login-DZVfG3Jq.esm.js');
|
|
129
129
|
await loginCommand.default(options);
|
|
130
130
|
});
|
|
131
131
|
|
|
@@ -139,7 +139,7 @@ async function run() {
|
|
|
139
139
|
|
|
140
140
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
141
141
|
process.env.NODE_ENV = 'production';
|
|
142
|
-
const configSyncCommand = await import('../../dist/config-sync-
|
|
142
|
+
const configSyncCommand = await import('../../dist/config-sync-Bu7U5gn5.esm.js');
|
|
143
143
|
await configSyncCommand.default(options);
|
|
144
144
|
});
|
|
145
145
|
|
|
@@ -152,7 +152,7 @@ async function run() {
|
|
|
152
152
|
|
|
153
153
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
154
154
|
process.env.NODE_ENV = 'production';
|
|
155
|
-
const configSyncCICommand = await import('../../dist/config-sync-ci-
|
|
155
|
+
const configSyncCICommand = await import('../../dist/config-sync-ci-Dq7bAqeu.esm.js');
|
|
156
156
|
await configSyncCICommand.default(options);
|
|
157
157
|
});
|
|
158
158
|
|
|
@@ -166,7 +166,7 @@ async function run() {
|
|
|
166
166
|
|
|
167
167
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
168
168
|
process.env.NODE_ENV = 'production';
|
|
169
|
-
const deploymentsSetCommand = await import('../../dist/deployment-previews-set-
|
|
169
|
+
const deploymentsSetCommand = await import('../../dist/deployment-previews-set-C2OPIfy-.esm.js');
|
|
170
170
|
await deploymentsSetCommand.default(options);
|
|
171
171
|
});
|
|
172
172
|
program.parse();
|
|
@@ -10,9 +10,9 @@ 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-
|
|
15
|
-
var doesFileExist = require('./does-file-exist-
|
|
13
|
+
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-CW0DlZBz.cjs.prod.js');
|
|
14
|
+
var paths = require('./paths-DtvtCG0U.cjs.prod.js');
|
|
15
|
+
var doesFileExist = require('./does-file-exist-DrcZIPe6.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');
|
|
18
18
|
require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor');
|
|
@@ -40,17 +40,17 @@ 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-DAShdAyB.cjs.prod.js');
|
|
44
44
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
45
|
-
require('./package-
|
|
46
|
-
require('./optimizations-
|
|
45
|
+
require('./package-DxhqRLHb.cjs.prod.js');
|
|
46
|
+
require('./optimizations-CEaq4axa.cjs.prod.js');
|
|
47
47
|
require('@babel/runtime-corejs3/core-js-stable/object/entries');
|
|
48
48
|
require('@babel/runtime-corejs3/core-js-stable/instance/includes');
|
|
49
|
-
require('./vendors-to-transpile-
|
|
49
|
+
require('./vendors-to-transpile-DLHlk7c-.cjs.prod.js');
|
|
50
50
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
51
51
|
require('node:fs');
|
|
52
52
|
|
|
53
|
-
function _interopDefault (e) { return e && e.__esModule ? e : {
|
|
53
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
54
54
|
|
|
55
55
|
var _Promise__default = /*#__PURE__*/_interopDefault(_Promise);
|
|
56
56
|
var path__default = /*#__PURE__*/_interopDefault(path);
|
|
@@ -62,8 +62,8 @@ var formatWebpackMessages__default = /*#__PURE__*/_interopDefault(formatWebpackM
|
|
|
62
62
|
var printBuildError__default = /*#__PURE__*/_interopDefault(printBuildError);
|
|
63
63
|
var webpack__default = /*#__PURE__*/_interopDefault(webpack);
|
|
64
64
|
|
|
65
|
-
const measureFileSizesBeforeBuild = FileSizeReporter__default
|
|
66
|
-
const printFileSizesAfterBuild = FileSizeReporter__default
|
|
65
|
+
const measureFileSizesBeforeBuild = FileSizeReporter__default.default.measureFileSizesBeforeBuild;
|
|
66
|
+
const printFileSizesAfterBuild = FileSizeReporter__default.default.printFileSizesAfterBuild;
|
|
67
67
|
|
|
68
68
|
// These sizes are pretty large. We'll warn for bundles exceeding them.
|
|
69
69
|
const WARN_AFTER_BUNDLE_GZIP_SIZE = 512 * 1024;
|
|
@@ -72,7 +72,7 @@ async function run() {
|
|
|
72
72
|
const hasWebpackConfig = doesFileExist.doesFileExist(paths.paths.appWebpackConfig);
|
|
73
73
|
|
|
74
74
|
// Warn and crash if required files are missing
|
|
75
|
-
if (!checkRequiredFiles__default
|
|
75
|
+
if (!checkRequiredFiles__default.default([])) {
|
|
76
76
|
process.exit(1);
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -82,25 +82,25 @@ async function run() {
|
|
|
82
82
|
|
|
83
83
|
// Remove all content but keep the directory so that
|
|
84
84
|
// if you're in it, you don't end up in Trash
|
|
85
|
-
fs__default
|
|
85
|
+
fs__default.default.emptyDirSync(paths.paths.appBuild);
|
|
86
86
|
// Copy default files
|
|
87
87
|
copyDefaultFiles();
|
|
88
88
|
try {
|
|
89
89
|
// Start the webpack build
|
|
90
90
|
const result = await build();
|
|
91
91
|
if (result.warnings.length) {
|
|
92
|
-
console.log(chalk__default
|
|
92
|
+
console.log(chalk__default.default.yellow('Compiled with warnings.\n'));
|
|
93
93
|
console.log(result.warnings.join('\n\n'));
|
|
94
94
|
console.log('\n');
|
|
95
95
|
} else {
|
|
96
|
-
console.log(chalk__default
|
|
96
|
+
console.log(chalk__default.default.green('Compiled successfully.\n'));
|
|
97
97
|
}
|
|
98
98
|
console.log('File sizes after gzip:\n');
|
|
99
99
|
printFileSizesAfterBuild(result.stats, previousFileSizes, paths.paths.appBuild, WARN_AFTER_BUNDLE_GZIP_SIZE, WARN_AFTER_CHUNK_GZIP_SIZE);
|
|
100
100
|
console.log();
|
|
101
101
|
} catch (error) {
|
|
102
102
|
if (error instanceof Error) {
|
|
103
|
-
printBuildError__default
|
|
103
|
+
printBuildError__default.default(error);
|
|
104
104
|
}
|
|
105
105
|
throw new Error(`Failed to compile`);
|
|
106
106
|
}
|
|
@@ -109,11 +109,11 @@ async function run() {
|
|
|
109
109
|
async function build() {
|
|
110
110
|
console.log('Creating an optimized production build...');
|
|
111
111
|
const config = hasWebpackConfig ? require(paths.paths.appWebpackConfig) : createWebpackConfigForProduction.createWebpackConfigForProduction();
|
|
112
|
-
const compiler = webpack__default
|
|
112
|
+
const compiler = webpack__default.default(config);
|
|
113
113
|
if (!compiler) {
|
|
114
|
-
return _Promise__default
|
|
114
|
+
return _Promise__default.default.reject(new Error('Failed to create webpack compiler'));
|
|
115
115
|
}
|
|
116
|
-
return new _Promise__default
|
|
116
|
+
return new _Promise__default.default((resolve, reject) => {
|
|
117
117
|
compiler.run((err, stats) => {
|
|
118
118
|
let messages;
|
|
119
119
|
if (err) {
|
|
@@ -127,13 +127,13 @@ async function run() {
|
|
|
127
127
|
// @ts-ignore
|
|
128
128
|
err['postcssNode'].selector;
|
|
129
129
|
}
|
|
130
|
-
messages = formatWebpackMessages__default
|
|
130
|
+
messages = formatWebpackMessages__default.default({
|
|
131
131
|
// @ts-ignore
|
|
132
132
|
errors: [errMessage],
|
|
133
133
|
warnings: []
|
|
134
134
|
});
|
|
135
135
|
} else {
|
|
136
|
-
messages = formatWebpackMessages__default
|
|
136
|
+
messages = formatWebpackMessages__default.default(stats?.toJson({
|
|
137
137
|
all: false,
|
|
138
138
|
warnings: true,
|
|
139
139
|
errors: true
|
|
@@ -148,7 +148,7 @@ async function run() {
|
|
|
148
148
|
return reject(new Error(messages.errors.join('\n\n')));
|
|
149
149
|
}
|
|
150
150
|
if (process.env.CI && (typeof process.env.CI !== 'string' || process.env.CI.toLowerCase() !== 'false') && messages.warnings.length) {
|
|
151
|
-
console.log(chalk__default
|
|
151
|
+
console.log(chalk__default.default.yellow('\nTreating warnings as errors because process.env.CI = true.\n' + 'Most CI servers set it automatically.\n'));
|
|
152
152
|
return reject(new Error(messages.warnings.join('\n\n')));
|
|
153
153
|
}
|
|
154
154
|
return resolve({
|
|
@@ -159,10 +159,10 @@ async function run() {
|
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
161
|
function copyDefaultFiles() {
|
|
162
|
-
fs__default
|
|
162
|
+
fs__default.default.copySync(path__default.default.join(assets.packageLocation, 'html-page'), paths.paths.appBuild, {
|
|
163
163
|
dereference: true
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
exports
|
|
168
|
+
exports.default = run;
|