@commercetools-frontend/mc-scripts 27.5.3 → 27.6.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/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.dev.js +39 -19
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +39 -19
- package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +11 -11
- package/dist/{build-BP3m-wjz.cjs.prod.js → build-74ba5097.cjs.prod.js} +23 -23
- package/dist/{build-Dq8dqtsd.cjs.dev.js → build-7c291b9e.cjs.dev.js} +23 -23
- package/dist/{build-GEMI3W9m.esm.js → build-bfc4d2be.esm.js} +7 -7
- package/dist/{build-vite-D67xSRU1.cjs.prod.js → build-vite-73361390.cjs.prod.js} +32 -32
- package/dist/{build-vite-Dxi3rfHf.cjs.dev.js → build-vite-8453739c.cjs.dev.js} +32 -32
- package/dist/{build-vite-CO8mi4hd.esm.js → build-vite-a9c1c374.esm.js} +5 -5
- package/dist/commercetools-frontend-mc-scripts.cjs.dev.js +4 -2
- package/dist/commercetools-frontend-mc-scripts.cjs.prod.js +4 -2
- package/dist/commercetools-frontend-mc-scripts.esm.js +2 -2
- package/dist/{compile-html-BVvy3IQD.esm.js → compile-html-025cd493.esm.js} +2 -2
- package/dist/{compile-html-Ds1YojsY.cjs.dev.js → compile-html-50fd05ec.cjs.prod.js} +8 -8
- package/dist/{compile-html-DZlUpFXg.cjs.prod.js → compile-html-f4ac88cc.cjs.dev.js} +8 -8
- package/dist/{config-sync-D6xLjo9S.cjs.prod.js → config-sync-09f66547.cjs.prod.js} +22 -22
- package/dist/{config-sync-Bu7U5gn5.esm.js → config-sync-15eb8589.esm.js} +5 -5
- package/dist/{config-sync-ci-SDsF-Onw.cjs.dev.js → config-sync-ci-61250b40.cjs.dev.js} +21 -21
- package/dist/{config-sync-ci-CXgQcemF.cjs.prod.js → config-sync-ci-72d17127.cjs.prod.js} +21 -21
- package/dist/{config-sync-ci-Dq7bAqeu.esm.js → config-sync-ci-906ef640.esm.js} +5 -5
- package/dist/{config-sync-Cd0sSSrd.cjs.dev.js → config-sync-fa80ea02.cjs.dev.js} +22 -22
- package/dist/{config-sync-helpers-9kvPwuoy.cjs.prod.js → config-sync-helpers-9e749cc1.cjs.prod.js} +47 -47
- package/dist/{config-sync-helpers-DUK45F_R.cjs.dev.js → config-sync-helpers-f35fab2b.cjs.dev.js} +47 -47
- package/dist/{config-sync-helpers-BLXJp1-D.esm.js → config-sync-helpers-f3861cb3.esm.js} +3 -3
- package/dist/{create-postcss-config-CN9_8Usa.esm.js → create-postcss-config-9f7fc8fe.esm.js} +1 -1
- package/dist/{create-postcss-config-DAShdAyB.cjs.prod.js → create-postcss-config-aa65bd02.cjs.prod.js} +3 -3
- package/dist/{create-postcss-config-NN2FAhvH.cjs.dev.js → create-postcss-config-bda2f46f.cjs.dev.js} +3 -3
- package/dist/{create-webpack-config-for-development-hxSNyq2_.cjs.dev.js → create-webpack-config-for-development-37fd15dd.cjs.dev.js} +25 -25
- package/dist/{create-webpack-config-for-development-CxGehl7I.cjs.prod.js → create-webpack-config-for-development-7f9ac343.cjs.prod.js} +25 -25
- package/dist/{create-webpack-config-for-development-5HpRHV9G.esm.js → create-webpack-config-for-development-cfc8c0d8.esm.js} +5 -5
- package/dist/{create-webpack-config-for-production-BY0UNoNz.esm.js → create-webpack-config-for-production-0ed3db08.esm.js} +5 -5
- package/dist/{create-webpack-config-for-production-CW0DlZBz.cjs.prod.js → create-webpack-config-for-production-c6f5fc5e.cjs.prod.js} +32 -32
- package/dist/{create-webpack-config-for-production-Edp9dzmw.cjs.dev.js → create-webpack-config-for-production-f0692e4f.cjs.dev.js} +32 -32
- package/dist/{credentials-storage-B79bb0Ns.esm.js → credentials-storage-67deadc3.esm.js} +1 -1
- package/dist/{credentials-storage-C3TlK0a8.cjs.prod.js → credentials-storage-ea1c16dc.cjs.prod.js} +10 -10
- package/dist/{credentials-storage-B0tDCH7i.cjs.dev.js → credentials-storage-fd195144.cjs.dev.js} +10 -10
- package/dist/{deployment-previews-set-nvkAPwYw.cjs.prod.js → deployment-previews-set-77a06501.cjs.prod.js} +22 -22
- package/dist/{deployment-previews-set-C2OPIfy-.esm.js → deployment-previews-set-8e17e07a.esm.js} +4 -4
- package/dist/{deployment-previews-set-BuHX8wKo.cjs.dev.js → deployment-previews-set-bfc5a58a.cjs.dev.js} +22 -22
- package/dist/{does-file-exist-DrcZIPe6.cjs.dev.js → does-file-exist-be53305d.cjs.prod.js} +2 -2
- package/dist/{does-file-exist-DrcZIPe6.cjs.prod.js → does-file-exist-eb86baca.cjs.dev.js} +2 -2
- package/dist/{graphql-requests-DCLX_2y0.esm.js → graphql-requests-1afa51b6.esm.js} +4 -4
- package/dist/{graphql-requests-D0rtMo7K.cjs.prod.js → graphql-requests-65332887.cjs.prod.js} +9 -9
- package/dist/{graphql-requests-BeUd4g3v.cjs.dev.js → graphql-requests-8c5aeb2f.cjs.dev.js} +9 -9
- package/dist/{i18n-message-complilation-CdVhuyWk.cjs.dev.js → i18n-message-complilation-7311cb29.cjs.dev.js} +3 -3
- package/dist/{i18n-message-complilation-CdVhuyWk.cjs.prod.js → i18n-message-complilation-7762da61.cjs.prod.js} +3 -3
- package/dist/{login-DKzmRa46.cjs.dev.js → login-3dbe724f.cjs.prod.js} +60 -42
- package/dist/{login-BagHOLO1.cjs.prod.js → login-6bc2696b.cjs.dev.js} +60 -42
- package/dist/{login-DZVfG3Jq.esm.js → login-dbab5c47.esm.js} +3 -3
- package/dist/{optimizations-Cjrg77Gu.esm.js → optimizations-54382f7b.esm.js} +1 -1
- package/dist/{optimizations-CEaq4axa.cjs.dev.js → optimizations-56be74d6.cjs.dev.js} +8 -8
- package/dist/{optimizations-CEaq4axa.cjs.prod.js → optimizations-da5a0cfa.cjs.prod.js} +8 -8
- package/dist/package-7c551972.esm.js +165 -0
- package/dist/package-7fcd7258.cjs.prod.js +167 -0
- package/dist/package-8cf0508d.cjs.dev.js +167 -0
- package/dist/{paths-Cg5Vq6RE.esm.js → paths-39f22b8b.esm.js} +1 -1
- package/dist/{paths-DtvtCG0U.cjs.prod.js → paths-7768b440.cjs.prod.js} +5 -5
- package/dist/{paths-B0WM5jb9.cjs.dev.js → paths-b76fc753.cjs.dev.js} +5 -5
- package/dist/{serve-fXDv4-Pm.esm.js → serve-22475fec.esm.js} +2 -2
- package/dist/{serve-BxRJOSeR.cjs.dev.js → serve-3837602d.cjs.prod.js} +13 -13
- package/dist/{serve-BwNRk6vi.cjs.prod.js → serve-b1c12985.cjs.dev.js} +13 -13
- package/dist/{start-suUcoYml.esm.js → start-5985f6fa.esm.js} +7 -7
- package/dist/{start-OjGog63p.cjs.dev.js → start-633a16e4.cjs.dev.js} +17 -17
- package/dist/{start-CQgQhNhU.cjs.prod.js → start-e7fdfc20.cjs.prod.js} +17 -17
- package/dist/{start-vite-CeaoWKrT.cjs.dev.js → start-vite-068e9f73.cjs.dev.js} +14 -14
- package/dist/{start-vite-Bf9UIg63.cjs.prod.js → start-vite-29078b3a.cjs.prod.js} +14 -14
- package/dist/{start-vite-BOrX5xsW.esm.js → start-vite-7d1161e8.esm.js} +3 -3
- package/dist/{vite-plugin-svgr-CRRIY_Py.cjs.prod.js → vite-plugin-svgr-4034a834.cjs.prod.js} +24 -6
- package/dist/{vite-plugin-svgr-CRRIY_Py.cjs.dev.js → vite-plugin-svgr-7d06f400.cjs.dev.js} +24 -6
- package/package.json +8 -8
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.dev.js +4 -2
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.prod.js +4 -2
- package/postcss/dist/commercetools-frontend-mc-scripts-postcss.esm.js +2 -2
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.dev.js +10 -8
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.prod.js +10 -8
- 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-B1Y3_DDl.cjs.dev.js +0 -17
- package/dist/package-BiK3ergJ.esm.js +0 -15
- package/dist/package-DxhqRLHb.cjs.prod.js +0 -12
- /package/dist/{does-file-exist-C7l6j7NP.esm.js → does-file-exist-32618334.esm.js} +0 -0
- /package/dist/{i18n-message-complilation-BRZ7ffQI.esm.js → i18n-message-complilation-21d3b0aa.esm.js} +0 -0
- /package/dist/{vendors-to-transpile-DLHlk7c-.cjs.dev.js → vendors-to-transpile-04a49d40.cjs.prod.js} +0 -0
- /package/dist/{vendors-to-transpile-DLHlk7c-.cjs.prod.js → vendors-to-transpile-6ab4ea06.cjs.dev.js} +0 -0
- /package/dist/{vendors-to-transpile-uu9TNPDO.esm.js → vendors-to-transpile-7dc84a72.esm.js} +0 -0
- /package/dist/{vite-plugin-svgr-B1JerYlQ.esm.js → vite-plugin-svgr-de6ee7da.esm.js} +0 -0
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
3
5
|
var _Array$isArray = require('@babel/runtime-corejs3/core-js-stable/array/is-array');
|
|
4
6
|
var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
5
7
|
var _forEachInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
@@ -8,11 +10,29 @@ var path = require('path');
|
|
|
8
10
|
var commander = require('commander');
|
|
9
11
|
var dotenv = require('dotenv');
|
|
10
12
|
var dotenvExpand = require('dotenv-expand');
|
|
11
|
-
var _package = require('../../dist/package-
|
|
12
|
-
var doesFileExist = require('../../dist/does-file-exist-
|
|
13
|
+
var _package = require('../../dist/package-8cf0508d.cjs.dev.js');
|
|
14
|
+
var doesFileExist = require('../../dist/does-file-exist-eb86baca.cjs.dev.js');
|
|
13
15
|
require('node:fs');
|
|
14
16
|
|
|
15
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': 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
|
+
}
|
|
16
36
|
|
|
17
37
|
var _Array$isArray__default = /*#__PURE__*/_interopDefault(_Array$isArray);
|
|
18
38
|
var _filterInstanceProperty__default = /*#__PURE__*/_interopDefault(_filterInstanceProperty);
|
|
@@ -34,7 +54,7 @@ process.on('unhandledRejection', err => {
|
|
|
34
54
|
});
|
|
35
55
|
|
|
36
56
|
// Get the current directory where the CLI is executed from. Usually this is the application folder.
|
|
37
|
-
const applicationDirectory = fs__default
|
|
57
|
+
const applicationDirectory = fs__default["default"].realpathSync(process.cwd());
|
|
38
58
|
async function run() {
|
|
39
59
|
// Command: start
|
|
40
60
|
commander.program.command('start').alias('dev').description('Starts the application in development mode using Webpack Dev Server.').action(async () => {
|
|
@@ -52,7 +72,7 @@ async function run() {
|
|
|
52
72
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
53
73
|
console.log('');
|
|
54
74
|
}
|
|
55
|
-
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-068e9f73.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-633a16e4.cjs.dev.js'); });
|
|
56
76
|
await startCommand.default();
|
|
57
77
|
});
|
|
58
78
|
|
|
@@ -71,12 +91,12 @@ async function run() {
|
|
|
71
91
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
72
92
|
console.log('');
|
|
73
93
|
}
|
|
74
|
-
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-8453739c.cjs.dev.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-7c291b9e.cjs.dev.js'); });
|
|
75
95
|
await buildCommand.default();
|
|
76
96
|
const shouldAlsoCompile = !options.buildOnly;
|
|
77
97
|
if (shouldAlsoCompile) {
|
|
78
98
|
console.log('');
|
|
79
|
-
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'); });
|
|
80
100
|
await compileHtmlCommand.default({
|
|
81
101
|
printSecurityHeaders: false
|
|
82
102
|
});
|
|
@@ -93,7 +113,7 @@ async function run() {
|
|
|
93
113
|
|
|
94
114
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
95
115
|
process.env.NODE_ENV = 'production';
|
|
96
|
-
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'); });
|
|
97
117
|
await compileHtmlCommand.default(options);
|
|
98
118
|
});
|
|
99
119
|
|
|
@@ -114,8 +134,8 @@ async function run() {
|
|
|
114
134
|
// so the command can run as a pure static file server with no dotenv
|
|
115
135
|
// files or `${env:...}` substitutions configured (the
|
|
116
136
|
// `application-authentication` use case).
|
|
117
|
-
const applicationConfig = handleAuthRoutes ? await (await
|
|
118
|
-
const serveCommand = await Promise.resolve().then(function () { return require('../../dist/serve-
|
|
137
|
+
const applicationConfig = handleAuthRoutes ? await (await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('@commercetools-frontend/application-config')); })).processConfig() : undefined;
|
|
138
|
+
const serveCommand = await Promise.resolve().then(function () { return require('../../dist/serve-b1c12985.cjs.dev.js'); });
|
|
119
139
|
const server = await serveCommand.default({
|
|
120
140
|
handleAuthRoutes,
|
|
121
141
|
applicationConfig
|
|
@@ -137,7 +157,7 @@ async function run() {
|
|
|
137
157
|
|
|
138
158
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
139
159
|
process.env.NODE_ENV = 'production';
|
|
140
|
-
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-
|
|
160
|
+
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-6bc2696b.cjs.dev.js'); });
|
|
141
161
|
await loginCommand.default(options);
|
|
142
162
|
});
|
|
143
163
|
|
|
@@ -151,7 +171,7 @@ async function run() {
|
|
|
151
171
|
|
|
152
172
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
153
173
|
process.env.NODE_ENV = 'production';
|
|
154
|
-
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-fa80ea02.cjs.dev.js'); });
|
|
155
175
|
await configSyncCommand.default(options);
|
|
156
176
|
});
|
|
157
177
|
|
|
@@ -164,7 +184,7 @@ async function run() {
|
|
|
164
184
|
|
|
165
185
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
166
186
|
process.env.NODE_ENV = 'production';
|
|
167
|
-
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-61250b40.cjs.dev.js'); });
|
|
168
188
|
await configSyncCICommand.default(options);
|
|
169
189
|
});
|
|
170
190
|
|
|
@@ -178,7 +198,7 @@ async function run() {
|
|
|
178
198
|
|
|
179
199
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
180
200
|
process.env.NODE_ENV = 'production';
|
|
181
|
-
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-bfc5a58a.cjs.dev.js'); });
|
|
182
202
|
await deploymentsSetCommand.default(options);
|
|
183
203
|
});
|
|
184
204
|
commander.program.parse();
|
|
@@ -195,13 +215,13 @@ function loadDotEnvFiles(globalOptions) {
|
|
|
195
215
|
// Custom dotenv files specified by the `--env` option takes precedence.
|
|
196
216
|
if (typeof globalOptions.env === 'string') {
|
|
197
217
|
dotenvFiles.push(globalOptions.env);
|
|
198
|
-
} else if (_Array$isArray__default
|
|
218
|
+
} else if (_Array$isArray__default["default"](globalOptions.env)) {
|
|
199
219
|
// Multiple `--env` options are allowed.
|
|
200
220
|
dotenvFiles.push(...globalOptions.env);
|
|
201
221
|
}
|
|
202
222
|
|
|
203
223
|
// https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use
|
|
204
|
-
dotenvFiles.push(..._filterInstanceProperty__default
|
|
224
|
+
dotenvFiles.push(..._filterInstanceProperty__default["default"](_context = [`.env.${environment}.local`,
|
|
205
225
|
// Don't include `.env.local` for `test` environment
|
|
206
226
|
// since normally you expect tests to produce the same
|
|
207
227
|
// results for everyone
|
|
@@ -212,10 +232,10 @@ function loadDotEnvFiles(globalOptions) {
|
|
|
212
232
|
// that have already been set. Variable expansion is supported in .env files.
|
|
213
233
|
// https://github.com/motdotla/dotenv
|
|
214
234
|
// https://github.com/motdotla/dotenv-expand
|
|
215
|
-
_forEachInstanceProperty__default
|
|
216
|
-
const dotenvFilePath = path__default
|
|
235
|
+
_forEachInstanceProperty__default["default"](dotenvFiles).call(dotenvFiles, dotenvFile => {
|
|
236
|
+
const dotenvFilePath = path__default["default"].resolve(path__default["default"].join(applicationDirectory, dotenvFile));
|
|
217
237
|
if (doesFileExist.doesFileExist(dotenvFilePath)) {
|
|
218
|
-
dotenvExpand__default
|
|
238
|
+
dotenvExpand__default["default"].expand(dotenv__default["default"].config({
|
|
219
239
|
path: dotenvFilePath
|
|
220
240
|
}));
|
|
221
241
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
3
5
|
var _Array$isArray = require('@babel/runtime-corejs3/core-js-stable/array/is-array');
|
|
4
6
|
var _filterInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/filter');
|
|
5
7
|
var _forEachInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/for-each');
|
|
@@ -8,11 +10,29 @@ var path = require('path');
|
|
|
8
10
|
var commander = require('commander');
|
|
9
11
|
var dotenv = require('dotenv');
|
|
10
12
|
var dotenvExpand = require('dotenv-expand');
|
|
11
|
-
var _package = require('../../dist/package-
|
|
12
|
-
var doesFileExist = require('../../dist/does-file-exist-
|
|
13
|
+
var _package = require('../../dist/package-7fcd7258.cjs.prod.js');
|
|
14
|
+
var doesFileExist = require('../../dist/does-file-exist-be53305d.cjs.prod.js');
|
|
13
15
|
require('node:fs');
|
|
14
16
|
|
|
15
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': 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
|
+
}
|
|
16
36
|
|
|
17
37
|
var _Array$isArray__default = /*#__PURE__*/_interopDefault(_Array$isArray);
|
|
18
38
|
var _filterInstanceProperty__default = /*#__PURE__*/_interopDefault(_filterInstanceProperty);
|
|
@@ -34,7 +54,7 @@ process.on('unhandledRejection', err => {
|
|
|
34
54
|
});
|
|
35
55
|
|
|
36
56
|
// Get the current directory where the CLI is executed from. Usually this is the application folder.
|
|
37
|
-
const applicationDirectory = fs__default
|
|
57
|
+
const applicationDirectory = fs__default["default"].realpathSync(process.cwd());
|
|
38
58
|
async function run() {
|
|
39
59
|
// Command: start
|
|
40
60
|
commander.program.command('start').alias('dev').description('Starts the application in development mode using Webpack Dev Server.').action(async () => {
|
|
@@ -52,7 +72,7 @@ async function run() {
|
|
|
52
72
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
53
73
|
console.log('');
|
|
54
74
|
}
|
|
55
|
-
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-29078b3a.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/start-e7fdfc20.cjs.prod.js'); });
|
|
56
76
|
await startCommand.default();
|
|
57
77
|
});
|
|
58
78
|
|
|
@@ -71,12 +91,12 @@ async function run() {
|
|
|
71
91
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
72
92
|
console.log('');
|
|
73
93
|
}
|
|
74
|
-
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-73361390.cjs.prod.js'); }) : await Promise.resolve().then(function () { return require('../../dist/build-74ba5097.cjs.prod.js'); });
|
|
75
95
|
await buildCommand.default();
|
|
76
96
|
const shouldAlsoCompile = !options.buildOnly;
|
|
77
97
|
if (shouldAlsoCompile) {
|
|
78
98
|
console.log('');
|
|
79
|
-
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'); });
|
|
80
100
|
await compileHtmlCommand.default({
|
|
81
101
|
printSecurityHeaders: false
|
|
82
102
|
});
|
|
@@ -93,7 +113,7 @@ async function run() {
|
|
|
93
113
|
|
|
94
114
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
95
115
|
process.env.NODE_ENV = 'production';
|
|
96
|
-
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'); });
|
|
97
117
|
await compileHtmlCommand.default(options);
|
|
98
118
|
});
|
|
99
119
|
|
|
@@ -114,8 +134,8 @@ async function run() {
|
|
|
114
134
|
// so the command can run as a pure static file server with no dotenv
|
|
115
135
|
// files or `${env:...}` substitutions configured (the
|
|
116
136
|
// `application-authentication` use case).
|
|
117
|
-
const applicationConfig = handleAuthRoutes ? await (await
|
|
118
|
-
const serveCommand = await Promise.resolve().then(function () { return require('../../dist/serve-
|
|
137
|
+
const applicationConfig = handleAuthRoutes ? await (await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('@commercetools-frontend/application-config')); })).processConfig() : undefined;
|
|
138
|
+
const serveCommand = await Promise.resolve().then(function () { return require('../../dist/serve-3837602d.cjs.prod.js'); });
|
|
119
139
|
const server = await serveCommand.default({
|
|
120
140
|
handleAuthRoutes,
|
|
121
141
|
applicationConfig
|
|
@@ -137,7 +157,7 @@ async function run() {
|
|
|
137
157
|
|
|
138
158
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
139
159
|
process.env.NODE_ENV = 'production';
|
|
140
|
-
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-
|
|
160
|
+
const loginCommand = await Promise.resolve().then(function () { return require('../../dist/login-3dbe724f.cjs.prod.js'); });
|
|
141
161
|
await loginCommand.default(options);
|
|
142
162
|
});
|
|
143
163
|
|
|
@@ -151,7 +171,7 @@ async function run() {
|
|
|
151
171
|
|
|
152
172
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
153
173
|
process.env.NODE_ENV = 'production';
|
|
154
|
-
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-09f66547.cjs.prod.js'); });
|
|
155
175
|
await configSyncCommand.default(options);
|
|
156
176
|
});
|
|
157
177
|
|
|
@@ -164,7 +184,7 @@ async function run() {
|
|
|
164
184
|
|
|
165
185
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
166
186
|
process.env.NODE_ENV = 'production';
|
|
167
|
-
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-72d17127.cjs.prod.js'); });
|
|
168
188
|
await configSyncCICommand.default(options);
|
|
169
189
|
});
|
|
170
190
|
|
|
@@ -178,7 +198,7 @@ async function run() {
|
|
|
178
198
|
|
|
179
199
|
// Do this as the first thing so that any code reading it knows the right env.
|
|
180
200
|
process.env.NODE_ENV = 'production';
|
|
181
|
-
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-77a06501.cjs.prod.js'); });
|
|
182
202
|
await deploymentsSetCommand.default(options);
|
|
183
203
|
});
|
|
184
204
|
commander.program.parse();
|
|
@@ -195,13 +215,13 @@ function loadDotEnvFiles(globalOptions) {
|
|
|
195
215
|
// Custom dotenv files specified by the `--env` option takes precedence.
|
|
196
216
|
if (typeof globalOptions.env === 'string') {
|
|
197
217
|
dotenvFiles.push(globalOptions.env);
|
|
198
|
-
} else if (_Array$isArray__default
|
|
218
|
+
} else if (_Array$isArray__default["default"](globalOptions.env)) {
|
|
199
219
|
// Multiple `--env` options are allowed.
|
|
200
220
|
dotenvFiles.push(...globalOptions.env);
|
|
201
221
|
}
|
|
202
222
|
|
|
203
223
|
// https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use
|
|
204
|
-
dotenvFiles.push(..._filterInstanceProperty__default
|
|
224
|
+
dotenvFiles.push(..._filterInstanceProperty__default["default"](_context = [`.env.${environment}.local`,
|
|
205
225
|
// Don't include `.env.local` for `test` environment
|
|
206
226
|
// since normally you expect tests to produce the same
|
|
207
227
|
// results for everyone
|
|
@@ -212,10 +232,10 @@ function loadDotEnvFiles(globalOptions) {
|
|
|
212
232
|
// that have already been set. Variable expansion is supported in .env files.
|
|
213
233
|
// https://github.com/motdotla/dotenv
|
|
214
234
|
// https://github.com/motdotla/dotenv-expand
|
|
215
|
-
_forEachInstanceProperty__default
|
|
216
|
-
const dotenvFilePath = path__default
|
|
235
|
+
_forEachInstanceProperty__default["default"](dotenvFiles).call(dotenvFiles, dotenvFile => {
|
|
236
|
+
const dotenvFilePath = path__default["default"].resolve(path__default["default"].join(applicationDirectory, dotenvFile));
|
|
217
237
|
if (doesFileExist.doesFileExist(dotenvFilePath)) {
|
|
218
|
-
dotenvExpand__default
|
|
238
|
+
dotenvExpand__default["default"].expand(dotenv__default["default"].config({
|
|
219
239
|
path: dotenvFilePath
|
|
220
240
|
}));
|
|
221
241
|
}
|
|
@@ -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-7c551972.esm.js';
|
|
10
|
+
import { d as doesFileExist } from '../../dist/does-file-exist-32618334.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-7d1161e8.esm.js') : await import('../../dist/start-5985f6fa.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-a9c1c374.esm.js') : await import('../../dist/build-bfc4d2be.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-025cd493.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-025cd493.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-22475fec.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-dbab5c47.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-15eb8589.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-906ef640.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-8e17e07a.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-c6f5fc5e.cjs.prod.js');
|
|
14
|
+
var paths = require('./paths-7768b440.cjs.prod.js');
|
|
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');
|
|
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-aa65bd02.cjs.prod.js');
|
|
44
44
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
45
|
-
require('./package-
|
|
46
|
-
require('./optimizations-
|
|
45
|
+
require('./package-7fcd7258.cjs.prod.js');
|
|
46
|
+
require('./optimizations-da5a0cfa.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-04a49d40.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 : { default: 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;
|