@commercetools-frontend/mc-scripts 21.8.0 → 21.10.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 +34 -21
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +34 -21
- package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +34 -21
- package/dist/{build-8582b673.esm.js → build-4b9ac48f.esm.js} +3 -3
- package/dist/{build-97278377.cjs.dev.js → build-83e7cede.cjs.dev.js} +3 -3
- package/dist/{build-9395925a.cjs.prod.js → build-f523f508.cjs.prod.js} +3 -3
- package/dist/{build-vite-6c987a60.cjs.dev.js → build-vite-3b82522e.cjs.dev.js} +44 -2
- package/dist/{build-vite-a9602b19.esm.js → build-vite-93abdc95.esm.js} +44 -2
- package/dist/{build-vite-76d44332.cjs.prod.js → build-vite-b7cd993a.cjs.prod.js} +44 -2
- package/dist/commercetools-frontend-mc-scripts.cjs.dev.js +1 -1
- package/dist/commercetools-frontend-mc-scripts.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-mc-scripts.esm.js +1 -1
- package/dist/{compile-html-4832f8c5.esm.js → compile-html-4361a0b3.esm.js} +18 -24
- package/dist/{compile-html-7654b5e6.cjs.prod.js → compile-html-d6331c35.cjs.prod.js} +18 -24
- package/dist/{compile-html-0c588a89.cjs.dev.js → compile-html-d9e731aa.cjs.dev.js} +18 -24
- package/dist/{config-sync-62824317.cjs.prod.js → config-sync-a3170b54.cjs.prod.js} +46 -74
- package/dist/{config-sync-d52e73f6.cjs.dev.js → config-sync-ec048923.cjs.dev.js} +46 -74
- package/dist/{config-sync-20bc05e8.esm.js → config-sync-f97789c5.esm.js} +46 -74
- package/dist/{create-postcss-config-8ea16440.cjs.prod.js → create-postcss-config-0c0236bf.cjs.prod.js} +1 -1
- package/dist/{create-postcss-config-4cbe10ab.cjs.dev.js → create-postcss-config-2a0d05b2.cjs.dev.js} +1 -1
- package/dist/{create-postcss-config-c1aa3525.esm.js → create-postcss-config-d2bf4c66.esm.js} +1 -1
- package/dist/{create-webpack-config-for-development-a5e73092.cjs.prod.js → create-webpack-config-for-development-1da79732.cjs.prod.js} +5 -4
- package/dist/{create-webpack-config-for-development-e2735e02.cjs.dev.js → create-webpack-config-for-development-47d59cb3.cjs.dev.js} +5 -4
- package/dist/{create-webpack-config-for-development-8a8b84d6.esm.js → create-webpack-config-for-development-a546d54f.esm.js} +5 -4
- package/dist/{create-webpack-config-for-production-4e7b56c0.cjs.prod.js → create-webpack-config-for-production-3fd4683d.cjs.prod.js} +5 -4
- package/dist/{create-webpack-config-for-production-7dc669e5.esm.js → create-webpack-config-for-production-8d1ce439.esm.js} +5 -4
- package/dist/{create-webpack-config-for-production-d9bf281c.cjs.dev.js → create-webpack-config-for-production-db313b50.cjs.dev.js} +5 -4
- package/dist/declarations/src/commands/compile-html.d.ts +1 -1
- package/dist/declarations/src/commands/config-sync.d.ts +1 -1
- package/dist/declarations/src/config/moment-locales.d.ts +2 -0
- package/dist/declarations/src/generated/settings.d.ts +110 -8
- package/dist/declarations/src/types.d.ts +3 -3
- package/dist/declarations/src/vite-plugins/vite-plugin-custom-application.d.ts +4 -0
- package/dist/declarations/src/vite-plugins/vite-plugin-dynamic-base-assets-globals.d.ts +3 -0
- package/dist/declarations/src/vite-plugins/vite-plugin-svgr.d.ts +3 -0
- package/dist/{login-7d94659e.esm.js → login-0f875277.esm.js} +2 -2
- package/dist/{login-779552b7.cjs.dev.js → login-47ddbfc2.cjs.dev.js} +2 -2
- package/dist/{login-706ccc9a.cjs.prod.js → login-a99bba7b.cjs.prod.js} +2 -2
- package/dist/{package-aaf61bf0.cjs.dev.js → package-430e0951.cjs.prod.js} +25 -21
- package/dist/{package-b5c040f3.cjs.prod.js → package-7d0afacb.cjs.dev.js} +25 -21
- package/dist/{package-a98de907.esm.js → package-b2f3ad5a.esm.js} +25 -21
- package/dist/{start-e3ccd672.cjs.prod.js → start-5ba2b72f.cjs.prod.js} +3 -3
- package/dist/{start-2b953ab0.cjs.dev.js → start-bfb77660.cjs.dev.js} +3 -3
- package/dist/{start-e924bd5d.esm.js → start-f401e82c.esm.js} +3 -3
- package/dist/{start-vite-737bacca.cjs.dev.js → start-vite-22de08dc.cjs.dev.js} +7 -5
- package/dist/{start-vite-ec5d40b5.esm.js → start-vite-dc046cba.esm.js} +7 -5
- package/dist/{start-vite-b0f58ae4.cjs.prod.js → start-vite-fe13330b.cjs.prod.js} +7 -5
- package/dist/{user-agent-d18809af.cjs.prod.js → user-agent-837f1c7f.cjs.prod.js} +1 -1
- package/dist/{user-agent-8044acd6.esm.js → user-agent-b737c3ac.esm.js} +1 -1
- package/dist/{user-agent-5da1830b.cjs.dev.js → user-agent-f4549ad1.cjs.dev.js} +1 -1
- package/dist/vite-plugin-svgr-4205f2b5.cjs.dev.js +110 -0
- package/dist/vite-plugin-svgr-eb8524fa.esm.js +85 -0
- package/dist/vite-plugin-svgr-f3bbedbe.cjs.prod.js +110 -0
- package/package.json +25 -21
- 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 +4 -4
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.prod.js +4 -4
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.esm.js +4 -4
|
@@ -13,7 +13,7 @@ var path = require('path');
|
|
|
13
13
|
var cac = require('cac');
|
|
14
14
|
var dotenv = require('dotenv');
|
|
15
15
|
var dotenvExpand = require('dotenv-expand');
|
|
16
|
-
var _package = require('../../dist/package-
|
|
16
|
+
var _package = require('../../dist/package-7d0afacb.cjs.dev.js');
|
|
17
17
|
|
|
18
18
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
19
19
|
|
|
@@ -37,15 +37,14 @@ process.on('unhandledRejection', function (err) {
|
|
|
37
37
|
var applicationDirectory = fs__default["default"].realpathSync(process.cwd());
|
|
38
38
|
|
|
39
39
|
var run = function run() {
|
|
40
|
-
cli.help();
|
|
41
|
-
cli.version(_package.pkgJson.version);
|
|
42
40
|
cli.option('--env <path>', "(optional) Parses the file path as a dotenv file and adds the variables to the environment. Multiple flags are allowed."); // Default command
|
|
43
41
|
|
|
44
|
-
cli.command('').action(function () {
|
|
42
|
+
cli.command('').usage('\n\n Develop and build Custom Applications.').action(function () {
|
|
45
43
|
cli.outputHelp();
|
|
46
44
|
}); // Command: start
|
|
47
45
|
|
|
48
|
-
|
|
46
|
+
var usageStart = 'Starts the application in development mode using Webpack Dev Server.';
|
|
47
|
+
cli.command('start', usageStart).usage("\n\n ".concat(usageStart)).alias('dev').action( /*#__PURE__*/function () {
|
|
49
48
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(options) {
|
|
50
49
|
var shouldUseExperimentalBundler, startCommand;
|
|
51
50
|
return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
|
|
@@ -71,7 +70,7 @@ var run = function run() {
|
|
|
71
70
|
}
|
|
72
71
|
|
|
73
72
|
_context.next = 8;
|
|
74
|
-
return Promise.resolve().then(function () { return require('../../dist/start-vite-
|
|
73
|
+
return Promise.resolve().then(function () { return require('../../dist/start-vite-22de08dc.cjs.dev.js'); });
|
|
75
74
|
|
|
76
75
|
case 8:
|
|
77
76
|
_context.t0 = _context.sent;
|
|
@@ -80,7 +79,7 @@ var run = function run() {
|
|
|
80
79
|
|
|
81
80
|
case 11:
|
|
82
81
|
_context.next = 13;
|
|
83
|
-
return Promise.resolve().then(function () { return require('../../dist/start-
|
|
82
|
+
return Promise.resolve().then(function () { return require('../../dist/start-bfb77660.cjs.dev.js'); });
|
|
84
83
|
|
|
85
84
|
case 13:
|
|
86
85
|
_context.t0 = _context.sent;
|
|
@@ -103,7 +102,10 @@ var run = function run() {
|
|
|
103
102
|
};
|
|
104
103
|
}()); // Command: build
|
|
105
104
|
|
|
106
|
-
|
|
105
|
+
var usageBuild = 'Bundles the application in production mode. Outputs a "public" folder.';
|
|
106
|
+
cli.command('build', usageBuild).usage("\n\n ".concat(usageBuild)).option('--build-only', '(optional) If defined, the command only creates the production bundles without compiling the "index.html".', {
|
|
107
|
+
default: false
|
|
108
|
+
}).action( /*#__PURE__*/function () {
|
|
107
109
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee2(options) {
|
|
108
110
|
var shouldUseExperimentalBundler, buildCommand, shouldAlsoCompile, compileHtmlCommand;
|
|
109
111
|
return _regeneratorRuntime__default["default"].wrap(function _callee2$(_context2) {
|
|
@@ -120,7 +122,6 @@ var run = function run() {
|
|
|
120
122
|
|
|
121
123
|
if (shouldUseExperimentalBundler) {
|
|
122
124
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
123
|
-
console.warn('NOTE that the "cdnURL" value is not supported at the moment when using Vite.');
|
|
124
125
|
console.log('');
|
|
125
126
|
}
|
|
126
127
|
|
|
@@ -130,7 +131,7 @@ var run = function run() {
|
|
|
130
131
|
}
|
|
131
132
|
|
|
132
133
|
_context2.next = 8;
|
|
133
|
-
return Promise.resolve().then(function () { return require('../../dist/build-vite-
|
|
134
|
+
return Promise.resolve().then(function () { return require('../../dist/build-vite-3b82522e.cjs.dev.js'); });
|
|
134
135
|
|
|
135
136
|
case 8:
|
|
136
137
|
_context2.t0 = _context2.sent;
|
|
@@ -139,7 +140,7 @@ var run = function run() {
|
|
|
139
140
|
|
|
140
141
|
case 11:
|
|
141
142
|
_context2.next = 13;
|
|
142
|
-
return Promise.resolve().then(function () { return require('../../dist/build-
|
|
143
|
+
return Promise.resolve().then(function () { return require('../../dist/build-83e7cede.cjs.dev.js'); });
|
|
143
144
|
|
|
144
145
|
case 13:
|
|
145
146
|
_context2.t0 = _context2.sent;
|
|
@@ -150,7 +151,7 @@ var run = function run() {
|
|
|
150
151
|
return buildCommand.default();
|
|
151
152
|
|
|
152
153
|
case 17:
|
|
153
|
-
shouldAlsoCompile = !options
|
|
154
|
+
shouldAlsoCompile = !options.buildOnly;
|
|
154
155
|
|
|
155
156
|
if (!shouldAlsoCompile) {
|
|
156
157
|
_context2.next = 25;
|
|
@@ -159,12 +160,14 @@ var run = function run() {
|
|
|
159
160
|
|
|
160
161
|
console.log('');
|
|
161
162
|
_context2.next = 22;
|
|
162
|
-
return Promise.resolve().then(function () { return require('../../dist/compile-html-
|
|
163
|
+
return Promise.resolve().then(function () { return require('../../dist/compile-html-d9e731aa.cjs.dev.js'); });
|
|
163
164
|
|
|
164
165
|
case 22:
|
|
165
166
|
compileHtmlCommand = _context2.sent;
|
|
166
167
|
_context2.next = 25;
|
|
167
|
-
return compileHtmlCommand.default(
|
|
168
|
+
return compileHtmlCommand.default({
|
|
169
|
+
printSecurityHeaders: false
|
|
170
|
+
});
|
|
168
171
|
|
|
169
172
|
case 25:
|
|
170
173
|
case "end":
|
|
@@ -179,7 +182,10 @@ var run = function run() {
|
|
|
179
182
|
};
|
|
180
183
|
}()); // Command: compile-html
|
|
181
184
|
|
|
182
|
-
|
|
185
|
+
var usageCompileHtml = 'Compiles "index.html.template" file into a "index.html" with all the required runtime configuration. The security headers are also compiled and injected into the "index.html".';
|
|
186
|
+
cli.command('compile-html', usageCompileHtml).usage("\n\n ".concat(usageCompileHtml)).option('--transformer <path>', '(optional) The path to a JS module that can be used to generate a configuration for a specific cloud provider (e.g. Vercel, Netlify).').option('--print-security-headers', '(optional) If defined, the compiled security headers are printed to stdout.', {
|
|
187
|
+
default: false
|
|
188
|
+
}).action( /*#__PURE__*/function () {
|
|
183
189
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee3(options) {
|
|
184
190
|
var compileHtmlCommand;
|
|
185
191
|
return _regeneratorRuntime__default["default"].wrap(function _callee3$(_context3) {
|
|
@@ -192,7 +198,7 @@ var run = function run() {
|
|
|
192
198
|
|
|
193
199
|
process.env.NODE_ENV = 'production';
|
|
194
200
|
_context3.next = 4;
|
|
195
|
-
return Promise.resolve().then(function () { return require('../../dist/compile-html-
|
|
201
|
+
return Promise.resolve().then(function () { return require('../../dist/compile-html-d9e731aa.cjs.dev.js'); });
|
|
196
202
|
|
|
197
203
|
case 4:
|
|
198
204
|
compileHtmlCommand = _context3.sent;
|
|
@@ -212,7 +218,8 @@ var run = function run() {
|
|
|
212
218
|
};
|
|
213
219
|
}()); // Command: serve
|
|
214
220
|
|
|
215
|
-
|
|
221
|
+
var usageServe = 'Serves previously built and compiled application from the "public" folder.';
|
|
222
|
+
cli.command('serve', usageServe).usage("\n\n ".concat(usageServe)).action( /*#__PURE__*/function () {
|
|
216
223
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee4(options) {
|
|
217
224
|
var serveCommand;
|
|
218
225
|
return _regeneratorRuntime__default["default"].wrap(function _callee4$(_context4) {
|
|
@@ -245,7 +252,8 @@ var run = function run() {
|
|
|
245
252
|
};
|
|
246
253
|
}()); // Command: login
|
|
247
254
|
|
|
248
|
-
|
|
255
|
+
var usageLogin = 'Log in to your Merchant Center account through the CLI, using the cloud environment information from the Custom Application config file. An API token is generated and stored in a configuration file for the related cloud environment, and valid for 36 hours.';
|
|
256
|
+
cli.command('login', usageLogin).usage("\n\n ".concat(usageLogin)).action( /*#__PURE__*/function () {
|
|
249
257
|
var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee5(options) {
|
|
250
258
|
var loginCommand;
|
|
251
259
|
return _regeneratorRuntime__default["default"].wrap(function _callee5$(_context5) {
|
|
@@ -258,7 +266,7 @@ var run = function run() {
|
|
|
258
266
|
|
|
259
267
|
process.env.NODE_ENV = 'production';
|
|
260
268
|
_context5.next = 4;
|
|
261
|
-
return Promise.resolve().then(function () { return require('../../dist/login-
|
|
269
|
+
return Promise.resolve().then(function () { return require('../../dist/login-47ddbfc2.cjs.dev.js'); });
|
|
262
270
|
|
|
263
271
|
case 4:
|
|
264
272
|
loginCommand = _context5.sent;
|
|
@@ -278,7 +286,10 @@ var run = function run() {
|
|
|
278
286
|
};
|
|
279
287
|
}()); // Command: config:sync
|
|
280
288
|
|
|
281
|
-
|
|
289
|
+
var usageConfigSync = 'Synchronizes the local Custom Application config with the Merchant Center. A new Custom Application will be created if none existed, otherwise it will be updated.';
|
|
290
|
+
cli.command('config:sync', usageConfigSync).usage("\n\n ".concat(usageConfigSync)).option('--dry-run', '(optional) Executes the command but does not send any mutation request.', {
|
|
291
|
+
default: false
|
|
292
|
+
}).action( /*#__PURE__*/function () {
|
|
282
293
|
var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee6(options) {
|
|
283
294
|
var configSyncCommand;
|
|
284
295
|
return _regeneratorRuntime__default["default"].wrap(function _callee6$(_context6) {
|
|
@@ -291,7 +302,7 @@ var run = function run() {
|
|
|
291
302
|
|
|
292
303
|
process.env.NODE_ENV = 'production';
|
|
293
304
|
_context6.next = 4;
|
|
294
|
-
return Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
305
|
+
return Promise.resolve().then(function () { return require('../../dist/config-sync-ec048923.cjs.dev.js'); });
|
|
295
306
|
|
|
296
307
|
case 4:
|
|
297
308
|
configSyncCommand = _context6.sent;
|
|
@@ -310,6 +321,8 @@ var run = function run() {
|
|
|
310
321
|
return _ref6.apply(this, arguments);
|
|
311
322
|
};
|
|
312
323
|
}());
|
|
324
|
+
cli.help();
|
|
325
|
+
cli.version(_package.pkgJson.version);
|
|
313
326
|
cli.parse();
|
|
314
327
|
}; // Load dotenv files into the process environment.
|
|
315
328
|
// This is essentially what `dotenv-cli` does, but it's now built into this CLI.
|
|
@@ -13,7 +13,7 @@ var path = require('path');
|
|
|
13
13
|
var cac = require('cac');
|
|
14
14
|
var dotenv = require('dotenv');
|
|
15
15
|
var dotenvExpand = require('dotenv-expand');
|
|
16
|
-
var _package = require('../../dist/package-
|
|
16
|
+
var _package = require('../../dist/package-430e0951.cjs.prod.js');
|
|
17
17
|
|
|
18
18
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
19
19
|
|
|
@@ -37,15 +37,14 @@ process.on('unhandledRejection', function (err) {
|
|
|
37
37
|
var applicationDirectory = fs__default["default"].realpathSync(process.cwd());
|
|
38
38
|
|
|
39
39
|
var run = function run() {
|
|
40
|
-
cli.help();
|
|
41
|
-
cli.version(_package.pkgJson.version);
|
|
42
40
|
cli.option('--env <path>', "(optional) Parses the file path as a dotenv file and adds the variables to the environment. Multiple flags are allowed."); // Default command
|
|
43
41
|
|
|
44
|
-
cli.command('').action(function () {
|
|
42
|
+
cli.command('').usage('\n\n Develop and build Custom Applications.').action(function () {
|
|
45
43
|
cli.outputHelp();
|
|
46
44
|
}); // Command: start
|
|
47
45
|
|
|
48
|
-
|
|
46
|
+
var usageStart = 'Starts the application in development mode using Webpack Dev Server.';
|
|
47
|
+
cli.command('start', usageStart).usage("\n\n ".concat(usageStart)).alias('dev').action( /*#__PURE__*/function () {
|
|
49
48
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee(options) {
|
|
50
49
|
var shouldUseExperimentalBundler, startCommand;
|
|
51
50
|
return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
|
|
@@ -71,7 +70,7 @@ var run = function run() {
|
|
|
71
70
|
}
|
|
72
71
|
|
|
73
72
|
_context.next = 8;
|
|
74
|
-
return Promise.resolve().then(function () { return require('../../dist/start-vite-
|
|
73
|
+
return Promise.resolve().then(function () { return require('../../dist/start-vite-fe13330b.cjs.prod.js'); });
|
|
75
74
|
|
|
76
75
|
case 8:
|
|
77
76
|
_context.t0 = _context.sent;
|
|
@@ -80,7 +79,7 @@ var run = function run() {
|
|
|
80
79
|
|
|
81
80
|
case 11:
|
|
82
81
|
_context.next = 13;
|
|
83
|
-
return Promise.resolve().then(function () { return require('../../dist/start-
|
|
82
|
+
return Promise.resolve().then(function () { return require('../../dist/start-5ba2b72f.cjs.prod.js'); });
|
|
84
83
|
|
|
85
84
|
case 13:
|
|
86
85
|
_context.t0 = _context.sent;
|
|
@@ -103,7 +102,10 @@ var run = function run() {
|
|
|
103
102
|
};
|
|
104
103
|
}()); // Command: build
|
|
105
104
|
|
|
106
|
-
|
|
105
|
+
var usageBuild = 'Bundles the application in production mode. Outputs a "public" folder.';
|
|
106
|
+
cli.command('build', usageBuild).usage("\n\n ".concat(usageBuild)).option('--build-only', '(optional) If defined, the command only creates the production bundles without compiling the "index.html".', {
|
|
107
|
+
default: false
|
|
108
|
+
}).action( /*#__PURE__*/function () {
|
|
107
109
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee2(options) {
|
|
108
110
|
var shouldUseExperimentalBundler, buildCommand, shouldAlsoCompile, compileHtmlCommand;
|
|
109
111
|
return _regeneratorRuntime__default["default"].wrap(function _callee2$(_context2) {
|
|
@@ -120,7 +122,6 @@ var run = function run() {
|
|
|
120
122
|
|
|
121
123
|
if (shouldUseExperimentalBundler) {
|
|
122
124
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
123
|
-
console.warn('NOTE that the "cdnURL" value is not supported at the moment when using Vite.');
|
|
124
125
|
console.log('');
|
|
125
126
|
}
|
|
126
127
|
|
|
@@ -130,7 +131,7 @@ var run = function run() {
|
|
|
130
131
|
}
|
|
131
132
|
|
|
132
133
|
_context2.next = 8;
|
|
133
|
-
return Promise.resolve().then(function () { return require('../../dist/build-vite-
|
|
134
|
+
return Promise.resolve().then(function () { return require('../../dist/build-vite-b7cd993a.cjs.prod.js'); });
|
|
134
135
|
|
|
135
136
|
case 8:
|
|
136
137
|
_context2.t0 = _context2.sent;
|
|
@@ -139,7 +140,7 @@ var run = function run() {
|
|
|
139
140
|
|
|
140
141
|
case 11:
|
|
141
142
|
_context2.next = 13;
|
|
142
|
-
return Promise.resolve().then(function () { return require('../../dist/build-
|
|
143
|
+
return Promise.resolve().then(function () { return require('../../dist/build-f523f508.cjs.prod.js'); });
|
|
143
144
|
|
|
144
145
|
case 13:
|
|
145
146
|
_context2.t0 = _context2.sent;
|
|
@@ -150,7 +151,7 @@ var run = function run() {
|
|
|
150
151
|
return buildCommand.default();
|
|
151
152
|
|
|
152
153
|
case 17:
|
|
153
|
-
shouldAlsoCompile = !options
|
|
154
|
+
shouldAlsoCompile = !options.buildOnly;
|
|
154
155
|
|
|
155
156
|
if (!shouldAlsoCompile) {
|
|
156
157
|
_context2.next = 25;
|
|
@@ -159,12 +160,14 @@ var run = function run() {
|
|
|
159
160
|
|
|
160
161
|
console.log('');
|
|
161
162
|
_context2.next = 22;
|
|
162
|
-
return Promise.resolve().then(function () { return require('../../dist/compile-html-
|
|
163
|
+
return Promise.resolve().then(function () { return require('../../dist/compile-html-d6331c35.cjs.prod.js'); });
|
|
163
164
|
|
|
164
165
|
case 22:
|
|
165
166
|
compileHtmlCommand = _context2.sent;
|
|
166
167
|
_context2.next = 25;
|
|
167
|
-
return compileHtmlCommand.default(
|
|
168
|
+
return compileHtmlCommand.default({
|
|
169
|
+
printSecurityHeaders: false
|
|
170
|
+
});
|
|
168
171
|
|
|
169
172
|
case 25:
|
|
170
173
|
case "end":
|
|
@@ -179,7 +182,10 @@ var run = function run() {
|
|
|
179
182
|
};
|
|
180
183
|
}()); // Command: compile-html
|
|
181
184
|
|
|
182
|
-
|
|
185
|
+
var usageCompileHtml = 'Compiles "index.html.template" file into a "index.html" with all the required runtime configuration. The security headers are also compiled and injected into the "index.html".';
|
|
186
|
+
cli.command('compile-html', usageCompileHtml).usage("\n\n ".concat(usageCompileHtml)).option('--transformer <path>', '(optional) The path to a JS module that can be used to generate a configuration for a specific cloud provider (e.g. Vercel, Netlify).').option('--print-security-headers', '(optional) If defined, the compiled security headers are printed to stdout.', {
|
|
187
|
+
default: false
|
|
188
|
+
}).action( /*#__PURE__*/function () {
|
|
183
189
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee3(options) {
|
|
184
190
|
var compileHtmlCommand;
|
|
185
191
|
return _regeneratorRuntime__default["default"].wrap(function _callee3$(_context3) {
|
|
@@ -192,7 +198,7 @@ var run = function run() {
|
|
|
192
198
|
|
|
193
199
|
process.env.NODE_ENV = 'production';
|
|
194
200
|
_context3.next = 4;
|
|
195
|
-
return Promise.resolve().then(function () { return require('../../dist/compile-html-
|
|
201
|
+
return Promise.resolve().then(function () { return require('../../dist/compile-html-d6331c35.cjs.prod.js'); });
|
|
196
202
|
|
|
197
203
|
case 4:
|
|
198
204
|
compileHtmlCommand = _context3.sent;
|
|
@@ -212,7 +218,8 @@ var run = function run() {
|
|
|
212
218
|
};
|
|
213
219
|
}()); // Command: serve
|
|
214
220
|
|
|
215
|
-
|
|
221
|
+
var usageServe = 'Serves previously built and compiled application from the "public" folder.';
|
|
222
|
+
cli.command('serve', usageServe).usage("\n\n ".concat(usageServe)).action( /*#__PURE__*/function () {
|
|
216
223
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee4(options) {
|
|
217
224
|
var serveCommand;
|
|
218
225
|
return _regeneratorRuntime__default["default"].wrap(function _callee4$(_context4) {
|
|
@@ -245,7 +252,8 @@ var run = function run() {
|
|
|
245
252
|
};
|
|
246
253
|
}()); // Command: login
|
|
247
254
|
|
|
248
|
-
|
|
255
|
+
var usageLogin = 'Log in to your Merchant Center account through the CLI, using the cloud environment information from the Custom Application config file. An API token is generated and stored in a configuration file for the related cloud environment, and valid for 36 hours.';
|
|
256
|
+
cli.command('login', usageLogin).usage("\n\n ".concat(usageLogin)).action( /*#__PURE__*/function () {
|
|
249
257
|
var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee5(options) {
|
|
250
258
|
var loginCommand;
|
|
251
259
|
return _regeneratorRuntime__default["default"].wrap(function _callee5$(_context5) {
|
|
@@ -258,7 +266,7 @@ var run = function run() {
|
|
|
258
266
|
|
|
259
267
|
process.env.NODE_ENV = 'production';
|
|
260
268
|
_context5.next = 4;
|
|
261
|
-
return Promise.resolve().then(function () { return require('../../dist/login-
|
|
269
|
+
return Promise.resolve().then(function () { return require('../../dist/login-a99bba7b.cjs.prod.js'); });
|
|
262
270
|
|
|
263
271
|
case 4:
|
|
264
272
|
loginCommand = _context5.sent;
|
|
@@ -278,7 +286,10 @@ var run = function run() {
|
|
|
278
286
|
};
|
|
279
287
|
}()); // Command: config:sync
|
|
280
288
|
|
|
281
|
-
|
|
289
|
+
var usageConfigSync = 'Synchronizes the local Custom Application config with the Merchant Center. A new Custom Application will be created if none existed, otherwise it will be updated.';
|
|
290
|
+
cli.command('config:sync', usageConfigSync).usage("\n\n ".concat(usageConfigSync)).option('--dry-run', '(optional) Executes the command but does not send any mutation request.', {
|
|
291
|
+
default: false
|
|
292
|
+
}).action( /*#__PURE__*/function () {
|
|
282
293
|
var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee6(options) {
|
|
283
294
|
var configSyncCommand;
|
|
284
295
|
return _regeneratorRuntime__default["default"].wrap(function _callee6$(_context6) {
|
|
@@ -291,7 +302,7 @@ var run = function run() {
|
|
|
291
302
|
|
|
292
303
|
process.env.NODE_ENV = 'production';
|
|
293
304
|
_context6.next = 4;
|
|
294
|
-
return Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
305
|
+
return Promise.resolve().then(function () { return require('../../dist/config-sync-a3170b54.cjs.prod.js'); });
|
|
295
306
|
|
|
296
307
|
case 4:
|
|
297
308
|
configSyncCommand = _context6.sent;
|
|
@@ -310,6 +321,8 @@ var run = function run() {
|
|
|
310
321
|
return _ref6.apply(this, arguments);
|
|
311
322
|
};
|
|
312
323
|
}());
|
|
324
|
+
cli.help();
|
|
325
|
+
cli.version(_package.pkgJson.version);
|
|
313
326
|
cli.parse();
|
|
314
327
|
}; // Load dotenv files into the process environment.
|
|
315
328
|
// This is essentially what `dotenv-cli` does, but it's now built into this CLI.
|
|
@@ -9,7 +9,7 @@ import path from 'path';
|
|
|
9
9
|
import { cac } from 'cac';
|
|
10
10
|
import dotenv from 'dotenv';
|
|
11
11
|
import dotenvExpand from 'dotenv-expand';
|
|
12
|
-
import { p as pkgJson } from '../../dist/package-
|
|
12
|
+
import { p as pkgJson } from '../../dist/package-b2f3ad5a.esm.js';
|
|
13
13
|
|
|
14
14
|
var cli = cac('mc-scripts'); // Makes the script crash on unhandled rejections instead of silently
|
|
15
15
|
// ignoring them. In the future, promise rejections that are not handled will
|
|
@@ -22,15 +22,14 @@ process.on('unhandledRejection', function (err) {
|
|
|
22
22
|
var applicationDirectory = fs.realpathSync(process.cwd());
|
|
23
23
|
|
|
24
24
|
var run = function run() {
|
|
25
|
-
cli.help();
|
|
26
|
-
cli.version(pkgJson.version);
|
|
27
25
|
cli.option('--env <path>', "(optional) Parses the file path as a dotenv file and adds the variables to the environment. Multiple flags are allowed."); // Default command
|
|
28
26
|
|
|
29
|
-
cli.command('').action(function () {
|
|
27
|
+
cli.command('').usage('\n\n Develop and build Custom Applications.').action(function () {
|
|
30
28
|
cli.outputHelp();
|
|
31
29
|
}); // Command: start
|
|
32
30
|
|
|
33
|
-
|
|
31
|
+
var usageStart = 'Starts the application in development mode using Webpack Dev Server.';
|
|
32
|
+
cli.command('start', usageStart).usage("\n\n ".concat(usageStart)).alias('dev').action( /*#__PURE__*/function () {
|
|
34
33
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(options) {
|
|
35
34
|
var shouldUseExperimentalBundler, startCommand;
|
|
36
35
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -56,7 +55,7 @@ var run = function run() {
|
|
|
56
55
|
}
|
|
57
56
|
|
|
58
57
|
_context.next = 8;
|
|
59
|
-
return import('../../dist/start-vite-
|
|
58
|
+
return import('../../dist/start-vite-dc046cba.esm.js');
|
|
60
59
|
|
|
61
60
|
case 8:
|
|
62
61
|
_context.t0 = _context.sent;
|
|
@@ -65,7 +64,7 @@ var run = function run() {
|
|
|
65
64
|
|
|
66
65
|
case 11:
|
|
67
66
|
_context.next = 13;
|
|
68
|
-
return import('../../dist/start-
|
|
67
|
+
return import('../../dist/start-f401e82c.esm.js');
|
|
69
68
|
|
|
70
69
|
case 13:
|
|
71
70
|
_context.t0 = _context.sent;
|
|
@@ -88,7 +87,10 @@ var run = function run() {
|
|
|
88
87
|
};
|
|
89
88
|
}()); // Command: build
|
|
90
89
|
|
|
91
|
-
|
|
90
|
+
var usageBuild = 'Bundles the application in production mode. Outputs a "public" folder.';
|
|
91
|
+
cli.command('build', usageBuild).usage("\n\n ".concat(usageBuild)).option('--build-only', '(optional) If defined, the command only creates the production bundles without compiling the "index.html".', {
|
|
92
|
+
default: false
|
|
93
|
+
}).action( /*#__PURE__*/function () {
|
|
92
94
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(options) {
|
|
93
95
|
var shouldUseExperimentalBundler, buildCommand, shouldAlsoCompile, compileHtmlCommand;
|
|
94
96
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
@@ -105,7 +107,6 @@ var run = function run() {
|
|
|
105
107
|
|
|
106
108
|
if (shouldUseExperimentalBundler) {
|
|
107
109
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
108
|
-
console.warn('NOTE that the "cdnURL" value is not supported at the moment when using Vite.');
|
|
109
110
|
console.log('');
|
|
110
111
|
}
|
|
111
112
|
|
|
@@ -115,7 +116,7 @@ var run = function run() {
|
|
|
115
116
|
}
|
|
116
117
|
|
|
117
118
|
_context2.next = 8;
|
|
118
|
-
return import('../../dist/build-vite-
|
|
119
|
+
return import('../../dist/build-vite-93abdc95.esm.js');
|
|
119
120
|
|
|
120
121
|
case 8:
|
|
121
122
|
_context2.t0 = _context2.sent;
|
|
@@ -124,7 +125,7 @@ var run = function run() {
|
|
|
124
125
|
|
|
125
126
|
case 11:
|
|
126
127
|
_context2.next = 13;
|
|
127
|
-
return import('../../dist/build-
|
|
128
|
+
return import('../../dist/build-4b9ac48f.esm.js');
|
|
128
129
|
|
|
129
130
|
case 13:
|
|
130
131
|
_context2.t0 = _context2.sent;
|
|
@@ -135,7 +136,7 @@ var run = function run() {
|
|
|
135
136
|
return buildCommand.default();
|
|
136
137
|
|
|
137
138
|
case 17:
|
|
138
|
-
shouldAlsoCompile = !options
|
|
139
|
+
shouldAlsoCompile = !options.buildOnly;
|
|
139
140
|
|
|
140
141
|
if (!shouldAlsoCompile) {
|
|
141
142
|
_context2.next = 25;
|
|
@@ -144,12 +145,14 @@ var run = function run() {
|
|
|
144
145
|
|
|
145
146
|
console.log('');
|
|
146
147
|
_context2.next = 22;
|
|
147
|
-
return import('../../dist/compile-html-
|
|
148
|
+
return import('../../dist/compile-html-4361a0b3.esm.js');
|
|
148
149
|
|
|
149
150
|
case 22:
|
|
150
151
|
compileHtmlCommand = _context2.sent;
|
|
151
152
|
_context2.next = 25;
|
|
152
|
-
return compileHtmlCommand.default(
|
|
153
|
+
return compileHtmlCommand.default({
|
|
154
|
+
printSecurityHeaders: false
|
|
155
|
+
});
|
|
153
156
|
|
|
154
157
|
case 25:
|
|
155
158
|
case "end":
|
|
@@ -164,7 +167,10 @@ var run = function run() {
|
|
|
164
167
|
};
|
|
165
168
|
}()); // Command: compile-html
|
|
166
169
|
|
|
167
|
-
|
|
170
|
+
var usageCompileHtml = 'Compiles "index.html.template" file into a "index.html" with all the required runtime configuration. The security headers are also compiled and injected into the "index.html".';
|
|
171
|
+
cli.command('compile-html', usageCompileHtml).usage("\n\n ".concat(usageCompileHtml)).option('--transformer <path>', '(optional) The path to a JS module that can be used to generate a configuration for a specific cloud provider (e.g. Vercel, Netlify).').option('--print-security-headers', '(optional) If defined, the compiled security headers are printed to stdout.', {
|
|
172
|
+
default: false
|
|
173
|
+
}).action( /*#__PURE__*/function () {
|
|
168
174
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(options) {
|
|
169
175
|
var compileHtmlCommand;
|
|
170
176
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
@@ -177,7 +183,7 @@ var run = function run() {
|
|
|
177
183
|
|
|
178
184
|
process.env.NODE_ENV = 'production';
|
|
179
185
|
_context3.next = 4;
|
|
180
|
-
return import('../../dist/compile-html-
|
|
186
|
+
return import('../../dist/compile-html-4361a0b3.esm.js');
|
|
181
187
|
|
|
182
188
|
case 4:
|
|
183
189
|
compileHtmlCommand = _context3.sent;
|
|
@@ -197,7 +203,8 @@ var run = function run() {
|
|
|
197
203
|
};
|
|
198
204
|
}()); // Command: serve
|
|
199
205
|
|
|
200
|
-
|
|
206
|
+
var usageServe = 'Serves previously built and compiled application from the "public" folder.';
|
|
207
|
+
cli.command('serve', usageServe).usage("\n\n ".concat(usageServe)).action( /*#__PURE__*/function () {
|
|
201
208
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(options) {
|
|
202
209
|
var serveCommand;
|
|
203
210
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
@@ -230,7 +237,8 @@ var run = function run() {
|
|
|
230
237
|
};
|
|
231
238
|
}()); // Command: login
|
|
232
239
|
|
|
233
|
-
|
|
240
|
+
var usageLogin = 'Log in to your Merchant Center account through the CLI, using the cloud environment information from the Custom Application config file. An API token is generated and stored in a configuration file for the related cloud environment, and valid for 36 hours.';
|
|
241
|
+
cli.command('login', usageLogin).usage("\n\n ".concat(usageLogin)).action( /*#__PURE__*/function () {
|
|
234
242
|
var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee5(options) {
|
|
235
243
|
var loginCommand;
|
|
236
244
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
@@ -243,7 +251,7 @@ var run = function run() {
|
|
|
243
251
|
|
|
244
252
|
process.env.NODE_ENV = 'production';
|
|
245
253
|
_context5.next = 4;
|
|
246
|
-
return import('../../dist/login-
|
|
254
|
+
return import('../../dist/login-0f875277.esm.js');
|
|
247
255
|
|
|
248
256
|
case 4:
|
|
249
257
|
loginCommand = _context5.sent;
|
|
@@ -263,7 +271,10 @@ var run = function run() {
|
|
|
263
271
|
};
|
|
264
272
|
}()); // Command: config:sync
|
|
265
273
|
|
|
266
|
-
|
|
274
|
+
var usageConfigSync = 'Synchronizes the local Custom Application config with the Merchant Center. A new Custom Application will be created if none existed, otherwise it will be updated.';
|
|
275
|
+
cli.command('config:sync', usageConfigSync).usage("\n\n ".concat(usageConfigSync)).option('--dry-run', '(optional) Executes the command but does not send any mutation request.', {
|
|
276
|
+
default: false
|
|
277
|
+
}).action( /*#__PURE__*/function () {
|
|
267
278
|
var _ref6 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee6(options) {
|
|
268
279
|
var configSyncCommand;
|
|
269
280
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
@@ -276,7 +287,7 @@ var run = function run() {
|
|
|
276
287
|
|
|
277
288
|
process.env.NODE_ENV = 'production';
|
|
278
289
|
_context6.next = 4;
|
|
279
|
-
return import('../../dist/config-sync-
|
|
290
|
+
return import('../../dist/config-sync-f97789c5.esm.js');
|
|
280
291
|
|
|
281
292
|
case 4:
|
|
282
293
|
configSyncCommand = _context6.sent;
|
|
@@ -295,6 +306,8 @@ var run = function run() {
|
|
|
295
306
|
return _ref6.apply(this, arguments);
|
|
296
307
|
};
|
|
297
308
|
}());
|
|
309
|
+
cli.help();
|
|
310
|
+
cli.version(pkgJson.version);
|
|
298
311
|
cli.parse();
|
|
299
312
|
}; // Load dotenv files into the process environment.
|
|
300
313
|
// This is essentially what `dotenv-cli` does, but it's now built into this CLI.
|
|
@@ -11,7 +11,7 @@ import FileSizeReporter from 'react-dev-utils/FileSizeReporter';
|
|
|
11
11
|
import printBuildError from 'react-dev-utils/printBuildError';
|
|
12
12
|
import { packageLocation } from '@commercetools-frontend/assets';
|
|
13
13
|
import { p as paths } from './paths-ed23d5a1.esm.js';
|
|
14
|
-
import { c as createWebpackConfigForProduction } from './create-webpack-config-for-production-
|
|
14
|
+
import { c as createWebpackConfigForProduction } from './create-webpack-config-for-production-8d1ce439.esm.js';
|
|
15
15
|
import '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
16
16
|
import '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
17
17
|
import 'fs';
|
|
@@ -40,10 +40,10 @@ import '@babel/runtime-corejs3/core-js-stable/instance/bind';
|
|
|
40
40
|
import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
|
|
41
41
|
import '@babel/runtime-corejs3/core-js-stable/object/assign';
|
|
42
42
|
import './vendors-to-transpile-68e03526.esm.js';
|
|
43
|
-
import './create-postcss-config-
|
|
43
|
+
import './create-postcss-config-d2bf4c66.esm.js';
|
|
44
44
|
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
45
45
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
46
|
-
import './package-
|
|
46
|
+
import './package-b2f3ad5a.esm.js';
|
|
47
47
|
import './has-jsx-runtime-8314226e.esm.js';
|
|
48
48
|
|
|
49
49
|
var measureFileSizesBeforeBuild = FileSizeReporter.measureFileSizesBeforeBuild;
|
|
@@ -13,7 +13,7 @@ var FileSizeReporter = require('react-dev-utils/FileSizeReporter');
|
|
|
13
13
|
var printBuildError = require('react-dev-utils/printBuildError');
|
|
14
14
|
var assets = require('@commercetools-frontend/assets');
|
|
15
15
|
var paths = require('./paths-16823f56.cjs.dev.js');
|
|
16
|
-
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-
|
|
16
|
+
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-db313b50.cjs.dev.js');
|
|
17
17
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
18
18
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
19
19
|
require('fs');
|
|
@@ -42,10 +42,10 @@ require('@babel/runtime-corejs3/core-js-stable/instance/bind');
|
|
|
42
42
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
43
43
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
44
44
|
require('./vendors-to-transpile-b51af5d3.cjs.dev.js');
|
|
45
|
-
require('./create-postcss-config-
|
|
45
|
+
require('./create-postcss-config-2a0d05b2.cjs.dev.js');
|
|
46
46
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
47
47
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
48
|
-
require('./package-
|
|
48
|
+
require('./package-7d0afacb.cjs.dev.js');
|
|
49
49
|
require('./has-jsx-runtime-3d4bb633.cjs.dev.js');
|
|
50
50
|
|
|
51
51
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -13,7 +13,7 @@ var FileSizeReporter = require('react-dev-utils/FileSizeReporter');
|
|
|
13
13
|
var printBuildError = require('react-dev-utils/printBuildError');
|
|
14
14
|
var assets = require('@commercetools-frontend/assets');
|
|
15
15
|
var paths = require('./paths-76b66e74.cjs.prod.js');
|
|
16
|
-
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-
|
|
16
|
+
var createWebpackConfigForProduction = require('./create-webpack-config-for-production-3fd4683d.cjs.prod.js');
|
|
17
17
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
18
18
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
19
19
|
require('fs');
|
|
@@ -42,10 +42,10 @@ require('@babel/runtime-corejs3/core-js-stable/instance/bind');
|
|
|
42
42
|
require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
|
|
43
43
|
require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
44
44
|
require('./vendors-to-transpile-367e0ba8.cjs.prod.js');
|
|
45
|
-
require('./create-postcss-config-
|
|
45
|
+
require('./create-postcss-config-0c0236bf.cjs.prod.js');
|
|
46
46
|
require('@babel/runtime-corejs3/helpers/toConsumableArray');
|
|
47
47
|
require('@babel/runtime-corejs3/helpers/slicedToArray');
|
|
48
|
-
require('./package-
|
|
48
|
+
require('./package-430e0951.cjs.prod.js');
|
|
49
49
|
require('./has-jsx-runtime-0b03b72e.cjs.prod.js');
|
|
50
50
|
|
|
51
51
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|