@commercetools-frontend/mc-scripts 21.8.1 → 21.9.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 +7 -8
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +7 -8
- package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +7 -8
- package/dist/{build-acb29f36.cjs.prod.js → build-5357ad26.cjs.prod.js} +3 -3
- package/dist/{build-3521a4f3.cjs.dev.js → build-9b6d7eee.cjs.dev.js} +3 -3
- package/dist/{build-cac1a859.esm.js → build-c483e87f.esm.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/{config-sync-a6565737.esm.js → config-sync-6b31d972.esm.js} +2 -2
- package/dist/{config-sync-9540c47f.cjs.dev.js → config-sync-a478bc0f.cjs.dev.js} +2 -2
- package/dist/{config-sync-7bd51e9b.cjs.prod.js → config-sync-f07734e4.cjs.prod.js} +2 -2
- package/dist/{create-postcss-config-9e14f015.esm.js → create-postcss-config-04243dea.esm.js} +1 -1
- package/dist/{create-postcss-config-07259760.cjs.dev.js → create-postcss-config-760e2dc5.cjs.dev.js} +1 -1
- package/dist/{create-postcss-config-c1122bfa.cjs.prod.js → create-postcss-config-ddc3abee.cjs.prod.js} +1 -1
- package/dist/{create-webpack-config-for-development-b70e9af1.cjs.prod.js → create-webpack-config-for-development-76fdab59.cjs.prod.js} +5 -4
- package/dist/{create-webpack-config-for-development-eb1432fe.esm.js → create-webpack-config-for-development-d93ae4b2.esm.js} +5 -4
- package/dist/{create-webpack-config-for-development-20fbe5a5.cjs.dev.js → create-webpack-config-for-development-dfd1c174.cjs.dev.js} +5 -4
- package/dist/{create-webpack-config-for-production-331c8877.esm.js → create-webpack-config-for-production-9290479a.esm.js} +5 -4
- package/dist/{create-webpack-config-for-production-4e58ee43.cjs.dev.js → create-webpack-config-for-production-bc8c1f37.cjs.dev.js} +5 -4
- package/dist/{create-webpack-config-for-production-e894ffc1.cjs.prod.js → create-webpack-config-for-production-d652ad1a.cjs.prod.js} +5 -4
- 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/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-435f4c2b.esm.js → login-7b7ae27e.esm.js} +2 -2
- package/dist/{login-d1cbdeca.cjs.dev.js → login-b13f26e7.cjs.dev.js} +2 -2
- package/dist/{login-e943a53a.cjs.prod.js → login-c11fb977.cjs.prod.js} +2 -2
- package/dist/{package-8a5733b4.cjs.dev.js → package-4b4fcf02.cjs.prod.js} +25 -21
- package/dist/{package-fab41a01.cjs.prod.js → package-4c3e3fb7.cjs.dev.js} +25 -21
- package/dist/{package-8b6676c0.esm.js → package-8e6305bd.esm.js} +25 -21
- package/dist/{start-086879f3.cjs.prod.js → start-1b7dad90.cjs.prod.js} +3 -3
- package/dist/{start-dfef24e1.cjs.dev.js → start-45ca01f2.cjs.dev.js} +3 -3
- package/dist/{start-52af291f.esm.js → start-600d06a3.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-94518666.cjs.prod.js → user-agent-5f8ec93d.cjs.prod.js} +1 -1
- package/dist/{user-agent-7d6d1d4a.esm.js → user-agent-ca628320.esm.js} +1 -1
- package/dist/{user-agent-866e4833.cjs.dev.js → user-agent-ee57c98a.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-4c3e3fb7.cjs.dev.js');
|
|
17
17
|
|
|
18
18
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
19
19
|
|
|
@@ -71,7 +71,7 @@ var run = function run() {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
_context.next = 8;
|
|
74
|
-
return Promise.resolve().then(function () { return require('../../dist/start-vite-
|
|
74
|
+
return Promise.resolve().then(function () { return require('../../dist/start-vite-22de08dc.cjs.dev.js'); });
|
|
75
75
|
|
|
76
76
|
case 8:
|
|
77
77
|
_context.t0 = _context.sent;
|
|
@@ -80,7 +80,7 @@ var run = function run() {
|
|
|
80
80
|
|
|
81
81
|
case 11:
|
|
82
82
|
_context.next = 13;
|
|
83
|
-
return Promise.resolve().then(function () { return require('../../dist/start-
|
|
83
|
+
return Promise.resolve().then(function () { return require('../../dist/start-45ca01f2.cjs.dev.js'); });
|
|
84
84
|
|
|
85
85
|
case 13:
|
|
86
86
|
_context.t0 = _context.sent;
|
|
@@ -122,7 +122,6 @@ var run = function run() {
|
|
|
122
122
|
|
|
123
123
|
if (shouldUseExperimentalBundler) {
|
|
124
124
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
125
|
-
console.warn('NOTE that the "cdnURL" value is not supported at the moment when using Vite.');
|
|
126
125
|
console.log('');
|
|
127
126
|
}
|
|
128
127
|
|
|
@@ -132,7 +131,7 @@ var run = function run() {
|
|
|
132
131
|
}
|
|
133
132
|
|
|
134
133
|
_context2.next = 8;
|
|
135
|
-
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'); });
|
|
136
135
|
|
|
137
136
|
case 8:
|
|
138
137
|
_context2.t0 = _context2.sent;
|
|
@@ -141,7 +140,7 @@ var run = function run() {
|
|
|
141
140
|
|
|
142
141
|
case 11:
|
|
143
142
|
_context2.next = 13;
|
|
144
|
-
return Promise.resolve().then(function () { return require('../../dist/build-
|
|
143
|
+
return Promise.resolve().then(function () { return require('../../dist/build-9b6d7eee.cjs.dev.js'); });
|
|
145
144
|
|
|
146
145
|
case 13:
|
|
147
146
|
_context2.t0 = _context2.sent;
|
|
@@ -264,7 +263,7 @@ var run = function run() {
|
|
|
264
263
|
|
|
265
264
|
process.env.NODE_ENV = 'production';
|
|
266
265
|
_context5.next = 4;
|
|
267
|
-
return Promise.resolve().then(function () { return require('../../dist/login-
|
|
266
|
+
return Promise.resolve().then(function () { return require('../../dist/login-b13f26e7.cjs.dev.js'); });
|
|
268
267
|
|
|
269
268
|
case 4:
|
|
270
269
|
loginCommand = _context5.sent;
|
|
@@ -299,7 +298,7 @@ var run = function run() {
|
|
|
299
298
|
|
|
300
299
|
process.env.NODE_ENV = 'production';
|
|
301
300
|
_context6.next = 4;
|
|
302
|
-
return Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
301
|
+
return Promise.resolve().then(function () { return require('../../dist/config-sync-a478bc0f.cjs.dev.js'); });
|
|
303
302
|
|
|
304
303
|
case 4:
|
|
305
304
|
configSyncCommand = _context6.sent;
|
|
@@ -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-4b4fcf02.cjs.prod.js');
|
|
17
17
|
|
|
18
18
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
19
19
|
|
|
@@ -71,7 +71,7 @@ var run = function run() {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
_context.next = 8;
|
|
74
|
-
return Promise.resolve().then(function () { return require('../../dist/start-vite-
|
|
74
|
+
return Promise.resolve().then(function () { return require('../../dist/start-vite-fe13330b.cjs.prod.js'); });
|
|
75
75
|
|
|
76
76
|
case 8:
|
|
77
77
|
_context.t0 = _context.sent;
|
|
@@ -80,7 +80,7 @@ var run = function run() {
|
|
|
80
80
|
|
|
81
81
|
case 11:
|
|
82
82
|
_context.next = 13;
|
|
83
|
-
return Promise.resolve().then(function () { return require('../../dist/start-
|
|
83
|
+
return Promise.resolve().then(function () { return require('../../dist/start-1b7dad90.cjs.prod.js'); });
|
|
84
84
|
|
|
85
85
|
case 13:
|
|
86
86
|
_context.t0 = _context.sent;
|
|
@@ -122,7 +122,6 @@ var run = function run() {
|
|
|
122
122
|
|
|
123
123
|
if (shouldUseExperimentalBundler) {
|
|
124
124
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
125
|
-
console.warn('NOTE that the "cdnURL" value is not supported at the moment when using Vite.');
|
|
126
125
|
console.log('');
|
|
127
126
|
}
|
|
128
127
|
|
|
@@ -132,7 +131,7 @@ var run = function run() {
|
|
|
132
131
|
}
|
|
133
132
|
|
|
134
133
|
_context2.next = 8;
|
|
135
|
-
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'); });
|
|
136
135
|
|
|
137
136
|
case 8:
|
|
138
137
|
_context2.t0 = _context2.sent;
|
|
@@ -141,7 +140,7 @@ var run = function run() {
|
|
|
141
140
|
|
|
142
141
|
case 11:
|
|
143
142
|
_context2.next = 13;
|
|
144
|
-
return Promise.resolve().then(function () { return require('../../dist/build-
|
|
143
|
+
return Promise.resolve().then(function () { return require('../../dist/build-5357ad26.cjs.prod.js'); });
|
|
145
144
|
|
|
146
145
|
case 13:
|
|
147
146
|
_context2.t0 = _context2.sent;
|
|
@@ -264,7 +263,7 @@ var run = function run() {
|
|
|
264
263
|
|
|
265
264
|
process.env.NODE_ENV = 'production';
|
|
266
265
|
_context5.next = 4;
|
|
267
|
-
return Promise.resolve().then(function () { return require('../../dist/login-
|
|
266
|
+
return Promise.resolve().then(function () { return require('../../dist/login-c11fb977.cjs.prod.js'); });
|
|
268
267
|
|
|
269
268
|
case 4:
|
|
270
269
|
loginCommand = _context5.sent;
|
|
@@ -299,7 +298,7 @@ var run = function run() {
|
|
|
299
298
|
|
|
300
299
|
process.env.NODE_ENV = 'production';
|
|
301
300
|
_context6.next = 4;
|
|
302
|
-
return Promise.resolve().then(function () { return require('../../dist/config-sync-
|
|
301
|
+
return Promise.resolve().then(function () { return require('../../dist/config-sync-f07734e4.cjs.prod.js'); });
|
|
303
302
|
|
|
304
303
|
case 4:
|
|
305
304
|
configSyncCommand = _context6.sent;
|
|
@@ -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-8e6305bd.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
|
|
@@ -56,7 +56,7 @@ var run = function run() {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
_context.next = 8;
|
|
59
|
-
return import('../../dist/start-vite-
|
|
59
|
+
return import('../../dist/start-vite-dc046cba.esm.js');
|
|
60
60
|
|
|
61
61
|
case 8:
|
|
62
62
|
_context.t0 = _context.sent;
|
|
@@ -65,7 +65,7 @@ var run = function run() {
|
|
|
65
65
|
|
|
66
66
|
case 11:
|
|
67
67
|
_context.next = 13;
|
|
68
|
-
return import('../../dist/start-
|
|
68
|
+
return import('../../dist/start-600d06a3.esm.js');
|
|
69
69
|
|
|
70
70
|
case 13:
|
|
71
71
|
_context.t0 = _context.sent;
|
|
@@ -107,7 +107,6 @@ var run = function run() {
|
|
|
107
107
|
|
|
108
108
|
if (shouldUseExperimentalBundler) {
|
|
109
109
|
console.log('Experimental Vite bundler enabled! 🚀');
|
|
110
|
-
console.warn('NOTE that the "cdnURL" value is not supported at the moment when using Vite.');
|
|
111
110
|
console.log('');
|
|
112
111
|
}
|
|
113
112
|
|
|
@@ -117,7 +116,7 @@ var run = function run() {
|
|
|
117
116
|
}
|
|
118
117
|
|
|
119
118
|
_context2.next = 8;
|
|
120
|
-
return import('../../dist/build-vite-
|
|
119
|
+
return import('../../dist/build-vite-93abdc95.esm.js');
|
|
121
120
|
|
|
122
121
|
case 8:
|
|
123
122
|
_context2.t0 = _context2.sent;
|
|
@@ -126,7 +125,7 @@ var run = function run() {
|
|
|
126
125
|
|
|
127
126
|
case 11:
|
|
128
127
|
_context2.next = 13;
|
|
129
|
-
return import('../../dist/build-
|
|
128
|
+
return import('../../dist/build-c483e87f.esm.js');
|
|
130
129
|
|
|
131
130
|
case 13:
|
|
132
131
|
_context2.t0 = _context2.sent;
|
|
@@ -249,7 +248,7 @@ var run = function run() {
|
|
|
249
248
|
|
|
250
249
|
process.env.NODE_ENV = 'production';
|
|
251
250
|
_context5.next = 4;
|
|
252
|
-
return import('../../dist/login-
|
|
251
|
+
return import('../../dist/login-7b7ae27e.esm.js');
|
|
253
252
|
|
|
254
253
|
case 4:
|
|
255
254
|
loginCommand = _context5.sent;
|
|
@@ -284,7 +283,7 @@ var run = function run() {
|
|
|
284
283
|
|
|
285
284
|
process.env.NODE_ENV = 'production';
|
|
286
285
|
_context6.next = 4;
|
|
287
|
-
return import('../../dist/config-sync-
|
|
286
|
+
return import('../../dist/config-sync-6b31d972.esm.js');
|
|
288
287
|
|
|
289
288
|
case 4:
|
|
290
289
|
configSyncCommand = _context6.sent;
|
|
@@ -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-d652ad1a.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-ddc3abee.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-4b4fcf02.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 }; }
|
|
@@ -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-bc8c1f37.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-760e2dc5.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-4c3e3fb7.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 }; }
|
|
@@ -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-9290479a.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-04243dea.esm.js';
|
|
44
44
|
import '@babel/runtime-corejs3/helpers/toConsumableArray';
|
|
45
45
|
import '@babel/runtime-corejs3/helpers/slicedToArray';
|
|
46
|
-
import './package-
|
|
46
|
+
import './package-8e6305bd.esm.js';
|
|
47
47
|
import './has-jsx-runtime-8314226e.esm.js';
|
|
48
48
|
|
|
49
49
|
var measureFileSizesBeforeBuild = FileSizeReporter.measureFileSizesBeforeBuild;
|
|
@@ -12,9 +12,11 @@ var pluginReact = require('@vitejs/plugin-react');
|
|
|
12
12
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
13
13
|
var assets = require('@commercetools-frontend/assets');
|
|
14
14
|
var paths = require('./paths-16823f56.cjs.dev.js');
|
|
15
|
+
var vitePluginSvgr = require('./vite-plugin-svgr-4205f2b5.cjs.dev.js');
|
|
15
16
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
16
17
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
17
18
|
require('fs');
|
|
19
|
+
require('@rollup/pluginutils');
|
|
18
20
|
|
|
19
21
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
20
22
|
|
|
@@ -26,6 +28,31 @@ var path__default = /*#__PURE__*/_interopDefault(path);
|
|
|
26
28
|
var pluginGraphql__default = /*#__PURE__*/_interopDefault(pluginGraphql);
|
|
27
29
|
var pluginReact__default = /*#__PURE__*/_interopDefault(pluginReact);
|
|
28
30
|
|
|
31
|
+
// This script/function is injected into the `index.html` and used by Vite
|
|
32
|
+
// on runtime to build the assets URL (for example when using a separate CDN for the assets).
|
|
33
|
+
// Inspired by https://github.com/vitejs/vite/blob/main/playground/assets/vite.config-runtime-base.js
|
|
34
|
+
var dynamicBaseAssetsCode = "globalThis.__toCdnUrl = filePath => window.app.cdnUrl.replace(/\\/$/, '') + '/' + filePath;";
|
|
35
|
+
|
|
36
|
+
function vitePluginDynamicBaseAssetsGlobals() {
|
|
37
|
+
return {
|
|
38
|
+
name: 'dynamic-base-assets-globals',
|
|
39
|
+
transformIndexHtml: function transformIndexHtml(html, ctx) {
|
|
40
|
+
if (ctx.bundle) {
|
|
41
|
+
// Only inject during build
|
|
42
|
+
return [{
|
|
43
|
+
tag: 'script',
|
|
44
|
+
attrs: {
|
|
45
|
+
type: 'module'
|
|
46
|
+
},
|
|
47
|
+
children: dynamicBaseAssetsCode
|
|
48
|
+
}];
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
return html;
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
29
56
|
function run() {
|
|
30
57
|
return _run.apply(this, arguments);
|
|
31
58
|
}
|
|
@@ -56,13 +83,14 @@ function _run() {
|
|
|
56
83
|
_context.next = 7;
|
|
57
84
|
return vite.build({
|
|
58
85
|
root: paths.paths.appRoot,
|
|
86
|
+
base: './',
|
|
87
|
+
// <-- Important to allow configuring the runtime base path.
|
|
59
88
|
define: {
|
|
60
89
|
'process.env.DEBUG': _JSON$stringify__default["default"](false),
|
|
61
90
|
'process.env.NODE_ENV': _JSON$stringify__default["default"]('production')
|
|
62
91
|
},
|
|
63
92
|
build: {
|
|
64
93
|
outDir: 'public',
|
|
65
|
-
assetsDir: '.',
|
|
66
94
|
rollupOptions: {
|
|
67
95
|
// This is necessary to instruct Vite that the `index.html` (template)
|
|
68
96
|
// is located in the `/public` folder.
|
|
@@ -74,12 +102,26 @@ function _run() {
|
|
|
74
102
|
server: {
|
|
75
103
|
port: DEFAULT_PORT
|
|
76
104
|
},
|
|
105
|
+
experimental: {
|
|
106
|
+
// https://vitejs.dev/guide/build.html#advanced-base-options
|
|
107
|
+
renderBuiltUrl: function renderBuiltUrl(filename, _ref) {
|
|
108
|
+
var hostType = _ref.hostType;
|
|
109
|
+
|
|
110
|
+
if (hostType === 'html') {
|
|
111
|
+
return "__CDN_URL__".concat(filename);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
return {
|
|
115
|
+
runtime: "window.__toCdnUrl(".concat(_JSON$stringify__default["default"](filename), ")")
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
},
|
|
77
119
|
plugins: [pluginGraphql__default["default"](), pluginReact__default["default"]({
|
|
78
120
|
jsxImportSource: '@emotion/react',
|
|
79
121
|
babel: {
|
|
80
122
|
plugins: ['@emotion/babel-plugin']
|
|
81
123
|
}
|
|
82
|
-
})]
|
|
124
|
+
}), vitePluginSvgr.vitePluginSvgr(), vitePluginDynamicBaseAssetsGlobals()]
|
|
83
125
|
});
|
|
84
126
|
|
|
85
127
|
case 7:
|
|
@@ -10,9 +10,36 @@ import pluginReact from '@vitejs/plugin-react';
|
|
|
10
10
|
import { generateTemplate } from '@commercetools-frontend/mc-html-template';
|
|
11
11
|
import { packageLocation } from '@commercetools-frontend/assets';
|
|
12
12
|
import { p as paths } from './paths-ed23d5a1.esm.js';
|
|
13
|
+
import { v as vitePluginSvgr } from './vite-plugin-svgr-eb8524fa.esm.js';
|
|
13
14
|
import '@babel/runtime-corejs3/core-js-stable/instance/find';
|
|
14
15
|
import '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
15
16
|
import 'fs';
|
|
17
|
+
import '@rollup/pluginutils';
|
|
18
|
+
|
|
19
|
+
// This script/function is injected into the `index.html` and used by Vite
|
|
20
|
+
// on runtime to build the assets URL (for example when using a separate CDN for the assets).
|
|
21
|
+
// Inspired by https://github.com/vitejs/vite/blob/main/playground/assets/vite.config-runtime-base.js
|
|
22
|
+
var dynamicBaseAssetsCode = "globalThis.__toCdnUrl = filePath => window.app.cdnUrl.replace(/\\/$/, '') + '/' + filePath;";
|
|
23
|
+
|
|
24
|
+
function vitePluginDynamicBaseAssetsGlobals() {
|
|
25
|
+
return {
|
|
26
|
+
name: 'dynamic-base-assets-globals',
|
|
27
|
+
transformIndexHtml: function transformIndexHtml(html, ctx) {
|
|
28
|
+
if (ctx.bundle) {
|
|
29
|
+
// Only inject during build
|
|
30
|
+
return [{
|
|
31
|
+
tag: 'script',
|
|
32
|
+
attrs: {
|
|
33
|
+
type: 'module'
|
|
34
|
+
},
|
|
35
|
+
children: dynamicBaseAssetsCode
|
|
36
|
+
}];
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
return html;
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
16
43
|
|
|
17
44
|
function run() {
|
|
18
45
|
return _run.apply(this, arguments);
|
|
@@ -44,13 +71,14 @@ function _run() {
|
|
|
44
71
|
_context.next = 7;
|
|
45
72
|
return build({
|
|
46
73
|
root: paths.appRoot,
|
|
74
|
+
base: './',
|
|
75
|
+
// <-- Important to allow configuring the runtime base path.
|
|
47
76
|
define: {
|
|
48
77
|
'process.env.DEBUG': _JSON$stringify(false),
|
|
49
78
|
'process.env.NODE_ENV': _JSON$stringify('production')
|
|
50
79
|
},
|
|
51
80
|
build: {
|
|
52
81
|
outDir: 'public',
|
|
53
|
-
assetsDir: '.',
|
|
54
82
|
rollupOptions: {
|
|
55
83
|
// This is necessary to instruct Vite that the `index.html` (template)
|
|
56
84
|
// is located in the `/public` folder.
|
|
@@ -62,12 +90,26 @@ function _run() {
|
|
|
62
90
|
server: {
|
|
63
91
|
port: DEFAULT_PORT
|
|
64
92
|
},
|
|
93
|
+
experimental: {
|
|
94
|
+
// https://vitejs.dev/guide/build.html#advanced-base-options
|
|
95
|
+
renderBuiltUrl: function renderBuiltUrl(filename, _ref) {
|
|
96
|
+
var hostType = _ref.hostType;
|
|
97
|
+
|
|
98
|
+
if (hostType === 'html') {
|
|
99
|
+
return "__CDN_URL__".concat(filename);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
return {
|
|
103
|
+
runtime: "window.__toCdnUrl(".concat(_JSON$stringify(filename), ")")
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
},
|
|
65
107
|
plugins: [pluginGraphql(), pluginReact({
|
|
66
108
|
jsxImportSource: '@emotion/react',
|
|
67
109
|
babel: {
|
|
68
110
|
plugins: ['@emotion/babel-plugin']
|
|
69
111
|
}
|
|
70
|
-
})]
|
|
112
|
+
}), vitePluginSvgr(), vitePluginDynamicBaseAssetsGlobals()]
|
|
71
113
|
});
|
|
72
114
|
|
|
73
115
|
case 7:
|
|
@@ -12,9 +12,11 @@ var pluginReact = require('@vitejs/plugin-react');
|
|
|
12
12
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
13
13
|
var assets = require('@commercetools-frontend/assets');
|
|
14
14
|
var paths = require('./paths-76b66e74.cjs.prod.js');
|
|
15
|
+
var vitePluginSvgr = require('./vite-plugin-svgr-f3bbedbe.cjs.prod.js');
|
|
15
16
|
require('@babel/runtime-corejs3/core-js-stable/instance/find');
|
|
16
17
|
require('@babel/runtime-corejs3/core-js-stable/instance/concat');
|
|
17
18
|
require('fs');
|
|
19
|
+
require('@rollup/pluginutils');
|
|
18
20
|
|
|
19
21
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
20
22
|
|
|
@@ -26,6 +28,31 @@ var path__default = /*#__PURE__*/_interopDefault(path);
|
|
|
26
28
|
var pluginGraphql__default = /*#__PURE__*/_interopDefault(pluginGraphql);
|
|
27
29
|
var pluginReact__default = /*#__PURE__*/_interopDefault(pluginReact);
|
|
28
30
|
|
|
31
|
+
// This script/function is injected into the `index.html` and used by Vite
|
|
32
|
+
// on runtime to build the assets URL (for example when using a separate CDN for the assets).
|
|
33
|
+
// Inspired by https://github.com/vitejs/vite/blob/main/playground/assets/vite.config-runtime-base.js
|
|
34
|
+
var dynamicBaseAssetsCode = "globalThis.__toCdnUrl = filePath => window.app.cdnUrl.replace(/\\/$/, '') + '/' + filePath;";
|
|
35
|
+
|
|
36
|
+
function vitePluginDynamicBaseAssetsGlobals() {
|
|
37
|
+
return {
|
|
38
|
+
name: 'dynamic-base-assets-globals',
|
|
39
|
+
transformIndexHtml: function transformIndexHtml(html, ctx) {
|
|
40
|
+
if (ctx.bundle) {
|
|
41
|
+
// Only inject during build
|
|
42
|
+
return [{
|
|
43
|
+
tag: 'script',
|
|
44
|
+
attrs: {
|
|
45
|
+
type: 'module'
|
|
46
|
+
},
|
|
47
|
+
children: dynamicBaseAssetsCode
|
|
48
|
+
}];
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
return html;
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
29
56
|
function run() {
|
|
30
57
|
return _run.apply(this, arguments);
|
|
31
58
|
}
|
|
@@ -56,13 +83,14 @@ function _run() {
|
|
|
56
83
|
_context.next = 7;
|
|
57
84
|
return vite.build({
|
|
58
85
|
root: paths.paths.appRoot,
|
|
86
|
+
base: './',
|
|
87
|
+
// <-- Important to allow configuring the runtime base path.
|
|
59
88
|
define: {
|
|
60
89
|
'process.env.DEBUG': _JSON$stringify__default["default"](false),
|
|
61
90
|
'process.env.NODE_ENV': _JSON$stringify__default["default"]('production')
|
|
62
91
|
},
|
|
63
92
|
build: {
|
|
64
93
|
outDir: 'public',
|
|
65
|
-
assetsDir: '.',
|
|
66
94
|
rollupOptions: {
|
|
67
95
|
// This is necessary to instruct Vite that the `index.html` (template)
|
|
68
96
|
// is located in the `/public` folder.
|
|
@@ -74,12 +102,26 @@ function _run() {
|
|
|
74
102
|
server: {
|
|
75
103
|
port: DEFAULT_PORT
|
|
76
104
|
},
|
|
105
|
+
experimental: {
|
|
106
|
+
// https://vitejs.dev/guide/build.html#advanced-base-options
|
|
107
|
+
renderBuiltUrl: function renderBuiltUrl(filename, _ref) {
|
|
108
|
+
var hostType = _ref.hostType;
|
|
109
|
+
|
|
110
|
+
if (hostType === 'html') {
|
|
111
|
+
return "__CDN_URL__".concat(filename);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
return {
|
|
115
|
+
runtime: "window.__toCdnUrl(".concat(_JSON$stringify__default["default"](filename), ")")
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
},
|
|
77
119
|
plugins: [pluginGraphql__default["default"](), pluginReact__default["default"]({
|
|
78
120
|
jsxImportSource: '@emotion/react',
|
|
79
121
|
babel: {
|
|
80
122
|
plugins: ['@emotion/babel-plugin']
|
|
81
123
|
}
|
|
82
|
-
})]
|
|
124
|
+
}), vitePluginSvgr.vitePluginSvgr(), vitePluginDynamicBaseAssetsGlobals()]
|
|
83
125
|
});
|
|
84
126
|
|
|
85
127
|
case 7:
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vendorsToTranspile = require('./vendors-to-transpile-b51af5d3.cjs.dev.js');
|
|
6
6
|
|
|
7
7
|
// NOTE: This string will be replaced on build time with the package version.
|
|
8
|
-
var version = "21.
|
|
8
|
+
var version = "21.9.0";
|
|
9
9
|
|
|
10
10
|
// These exports are deprecated.
|
|
11
11
|
function createWebpackConfigForDevelopment(options) {
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vendorsToTranspile = require('./vendors-to-transpile-367e0ba8.cjs.prod.js');
|
|
6
6
|
|
|
7
7
|
// NOTE: This string will be replaced on build time with the package version.
|
|
8
|
-
var version = "21.
|
|
8
|
+
var version = "21.9.0";
|
|
9
9
|
|
|
10
10
|
// These exports are deprecated.
|
|
11
11
|
function createWebpackConfigForDevelopment(options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { v as vendorsToTranspile } from './vendors-to-transpile-68e03526.esm.js';
|
|
2
2
|
|
|
3
3
|
// NOTE: This string will be replaced on build time with the package version.
|
|
4
|
-
var version = "21.
|
|
4
|
+
var version = "21.9.0";
|
|
5
5
|
|
|
6
6
|
// These exports are deprecated.
|
|
7
7
|
function createWebpackConfigForDevelopment(options) {
|
|
@@ -9,7 +9,7 @@ import omit from 'lodash/omit';
|
|
|
9
9
|
import prompts from 'prompts';
|
|
10
10
|
import chalk from 'chalk';
|
|
11
11
|
import { processConfig } from '@commercetools-frontend/application-config';
|
|
12
|
-
import { u as userAgent, C as CredentialsStorage } from './user-agent-
|
|
12
|
+
import { u as userAgent, C as CredentialsStorage } from './user-agent-ca628320.esm.js';
|
|
13
13
|
import { GraphQLClient } from 'graphql-request';
|
|
14
14
|
import { GRAPHQL_TARGETS } from '@commercetools-frontend/constants';
|
|
15
15
|
import _Object$getOwnPropertySymbols from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols';
|
|
@@ -31,7 +31,7 @@ import 'fs';
|
|
|
31
31
|
import 'path';
|
|
32
32
|
import 'os';
|
|
33
33
|
import '@commercetools/http-user-agent';
|
|
34
|
-
import './package-
|
|
34
|
+
import './package-8e6305bd.esm.js';
|
|
35
35
|
|
|
36
36
|
var FetchCustomApplicationFromCli = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FetchCustomApplicationFromCli" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "entryPointUriPath" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "organizationExtensionForCustomApplication" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "entryPointUriPath" }, value: { kind: "Variable", name: { kind: "Name", value: "entryPointUriPath" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "organizationId" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "application" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "entryPointUriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "description" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "url" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "icon" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "name" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "oAuthScopes" }, arguments: [], directives: [] }] } }, { kind: "Field", name: { kind: "Name", value: "mainMenuLink" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "defaultLabel" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }, { kind: "Field", name: { kind: "Name", value: "submenuLinks" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "uriPath" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "defaultLabel" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "permissions" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "labelAllLocales" }, arguments: [], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "locale" }, arguments: [], directives: [] }, { kind: "Field", name: { kind: "Name", value: "value" }, arguments: [], directives: [] }] } }] } }] } }] } }] } }], loc: { start: 0, end: 647, source: { body: "query FetchCustomApplicationFromCli($entryPointUriPath: String!) {\n organizationExtensionForCustomApplication(\n entryPointUriPath: $entryPointUriPath\n ) {\n organizationId\n application {\n id\n entryPointUriPath\n name\n description\n url\n icon\n permissions {\n name\n oAuthScopes\n }\n mainMenuLink {\n defaultLabel\n permissions\n labelAllLocales {\n locale\n value\n }\n }\n submenuLinks {\n uriPath\n defaultLabel\n permissions\n labelAllLocales {\n locale\n value\n }\n }\n }\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
37
37
|
var UpdateCustomApplicationFromCli = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "UpdateCustomApplicationFromCli" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "organizationId" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CustomApplicationDraftDataInput" } } }, directives: [] }, { kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "applicationId" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ID" } } }, directives: [] }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "updateCustomApplication" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "organizationId" }, value: { kind: "Variable", name: { kind: "Name", value: "organizationId" } } }, { kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }, { kind: "Argument", name: { kind: "Name", value: "applicationId" }, value: { kind: "Variable", name: { kind: "Name", value: "applicationId" } } }], directives: [], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" }, arguments: [], directives: [] }] } }] } }], loc: { start: 0, end: 268, source: { body: "mutation UpdateCustomApplicationFromCli(\n $organizationId: String!\n $data: CustomApplicationDraftDataInput!\n $applicationId: ID!\n) {\n updateCustomApplication(\n organizationId: $organizationId\n data: $data\n applicationId: $applicationId\n ) {\n id\n }\n}\n", name: "GraphQL request", locationOffset: { line: 1, column: 1 } } } };
|
|
@@ -11,7 +11,7 @@ var omit = require('lodash/omit');
|
|
|
11
11
|
var prompts = require('prompts');
|
|
12
12
|
var chalk = require('chalk');
|
|
13
13
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
14
|
-
var userAgent = require('./user-agent-
|
|
14
|
+
var userAgent = require('./user-agent-ee57c98a.cjs.dev.js');
|
|
15
15
|
var graphqlRequest = require('graphql-request');
|
|
16
16
|
var constants = require('@commercetools-frontend/constants');
|
|
17
17
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
@@ -33,7 +33,7 @@ require('fs');
|
|
|
33
33
|
require('path');
|
|
34
34
|
require('os');
|
|
35
35
|
require('@commercetools/http-user-agent');
|
|
36
|
-
require('./package-
|
|
36
|
+
require('./package-4c3e3fb7.cjs.dev.js');
|
|
37
37
|
|
|
38
38
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
39
39
|
|
|
@@ -11,7 +11,7 @@ var omit = require('lodash/omit');
|
|
|
11
11
|
var prompts = require('prompts');
|
|
12
12
|
var chalk = require('chalk');
|
|
13
13
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
14
|
-
var userAgent = require('./user-agent-
|
|
14
|
+
var userAgent = require('./user-agent-5f8ec93d.cjs.prod.js');
|
|
15
15
|
var graphqlRequest = require('graphql-request');
|
|
16
16
|
var constants = require('@commercetools-frontend/constants');
|
|
17
17
|
var _Object$getOwnPropertySymbols = require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols');
|
|
@@ -33,7 +33,7 @@ require('fs');
|
|
|
33
33
|
require('path');
|
|
34
34
|
require('os');
|
|
35
35
|
require('@commercetools/http-user-agent');
|
|
36
|
-
require('./package-
|
|
36
|
+
require('./package-4b4fcf02.cjs.prod.js');
|
|
37
37
|
|
|
38
38
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
39
39
|
|
package/dist/{create-postcss-config-9e14f015.esm.js → create-postcss-config-04243dea.esm.js}
RENAMED
|
@@ -2,7 +2,7 @@ import _toConsumableArray from '@babel/runtime-corejs3/helpers/esm/toConsumableA
|
|
|
2
2
|
import _slicedToArray from '@babel/runtime-corejs3/helpers/esm/slicedToArray';
|
|
3
3
|
import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat';
|
|
4
4
|
import path from 'path';
|
|
5
|
-
import { p as pkgJson } from './package-
|
|
5
|
+
import { p as pkgJson } from './package-8e6305bd.esm.js';
|
|
6
6
|
|
|
7
7
|
// This function aims to return the same result as `require.resolve`.
|
|
8
8
|
// However, resolving a path to a `.css` file does not return the real
|