@commercetools-frontend/mc-scripts 27.4.0 → 27.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.dev.js +12 -9
- package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +12 -9
- package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +12 -9
- package/dist/{build-538589f8.esm.js → build-2b934f0c.esm.js} +4 -5
- package/dist/{build-4bec1911.cjs.dev.js → build-b59ae957.cjs.dev.js} +4 -5
- package/dist/{build-4947dde1.cjs.prod.js → build-cebaad1c.cjs.prod.js} +4 -5
- package/dist/{build-vite-8cae71a0.esm.js → build-vite-1526e4f8.esm.js} +109 -20
- package/dist/{build-vite-837e7c94.cjs.dev.js → build-vite-2fb9320e.cjs.dev.js} +118 -20
- package/dist/{build-vite-b007241b.cjs.prod.js → build-vite-71889a4a.cjs.prod.js} +118 -20
- 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-847ba904.esm.js → config-sync-3be9dd65.esm.js} +4 -4
- package/dist/{config-sync-05b6c655.cjs.prod.js → config-sync-6707192b.cjs.prod.js} +4 -4
- package/dist/{config-sync-1b1cd062.cjs.dev.js → config-sync-7bd473d2.cjs.dev.js} +4 -4
- package/dist/{config-sync-ci-a466eac1.cjs.dev.js → config-sync-ci-3fabd319.cjs.dev.js} +4 -4
- package/dist/{config-sync-ci-e23e1a0c.esm.js → config-sync-ci-ceed6879.esm.js} +4 -4
- package/dist/{config-sync-ci-37b018f4.cjs.prod.js → config-sync-ci-eaa2c74c.cjs.prod.js} +4 -4
- package/dist/{config-sync-helpers-96a4e385.cjs.prod.js → config-sync-helpers-2f9ce5e7.cjs.prod.js} +1 -1
- package/dist/{config-sync-helpers-328a753c.esm.js → config-sync-helpers-4c1e6ef7.esm.js} +1 -1
- package/dist/{config-sync-helpers-9358fd5c.cjs.dev.js → config-sync-helpers-9e7101ca.cjs.dev.js} +1 -1
- package/dist/{create-postcss-config-21beaad3.esm.js → create-postcss-config-040fa794.esm.js} +1 -1
- package/dist/{create-postcss-config-5449cc23.cjs.dev.js → create-postcss-config-7cebb3e2.cjs.dev.js} +1 -1
- package/dist/{create-postcss-config-f816432f.cjs.prod.js → create-postcss-config-82c6d99e.cjs.prod.js} +1 -1
- package/dist/{create-webpack-config-for-development-c814a86b.esm.js → create-webpack-config-for-development-5fba3c63.esm.js} +2 -3
- package/dist/{create-webpack-config-for-development-c1bbf893.cjs.dev.js → create-webpack-config-for-development-835be72f.cjs.dev.js} +4 -5
- package/dist/{create-webpack-config-for-development-4aef0f7d.cjs.prod.js → create-webpack-config-for-development-9d0b5ccd.cjs.prod.js} +4 -5
- package/dist/{create-webpack-config-for-production-1ce27fee.esm.js → create-webpack-config-for-production-1c770191.esm.js} +2 -3
- package/dist/{create-webpack-config-for-production-9d3513bb.cjs.prod.js → create-webpack-config-for-production-8c3f894b.cjs.prod.js} +4 -5
- package/dist/{create-webpack-config-for-production-13725420.cjs.dev.js → create-webpack-config-for-production-ffeb4a22.cjs.dev.js} +4 -5
- package/dist/{credentials-storage-fcc77fb6.esm.js → credentials-storage-67deadc3.esm.js} +14 -10
- package/dist/{credentials-storage-6d592cd6.cjs.prod.js → credentials-storage-ea1c16dc.cjs.prod.js} +14 -10
- package/dist/{credentials-storage-c4c5980e.cjs.dev.js → credentials-storage-fd195144.cjs.dev.js} +14 -10
- package/dist/{deployment-previews-set-eb7f91c7.cjs.dev.js → deployment-previews-set-68c37d9d.cjs.dev.js} +3 -3
- package/dist/{deployment-previews-set-3e3dd21a.cjs.prod.js → deployment-previews-set-6dd7e367.cjs.prod.js} +3 -3
- package/dist/{deployment-previews-set-e4851a8c.esm.js → deployment-previews-set-add2d9c6.esm.js} +3 -3
- package/dist/{graphql-requests-85c0591e.cjs.dev.js → graphql-requests-24e04c13.cjs.dev.js} +2 -2
- package/dist/{graphql-requests-3cf2d374.cjs.prod.js → graphql-requests-5e31d639.cjs.prod.js} +2 -2
- package/dist/{graphql-requests-c17c5c77.esm.js → graphql-requests-c07e7b8f.esm.js} +2 -2
- package/dist/{login-2d035398.cjs.dev.js → login-a1ad5f07.cjs.dev.js} +2 -2
- package/dist/{login-69b7ff2d.esm.js → login-af2522fd.esm.js} +2 -2
- package/dist/{login-d3937863.cjs.prod.js → login-c05816f1.cjs.prod.js} +2 -2
- package/dist/{optimizations-bf991634.esm.js → optimizations-54382f7b.esm.js} +24 -9
- package/dist/{optimizations-fb93514f.cjs.prod.js → optimizations-56be74d6.cjs.dev.js} +24 -9
- package/dist/{optimizations-7789145e.cjs.dev.js → optimizations-da5a0cfa.cjs.prod.js} +24 -9
- package/dist/{package-6d9b67e1.esm.js → package-14789720.esm.js} +11 -12
- package/dist/{package-21b8dea0.cjs.dev.js → package-6dcc2c4f.cjs.dev.js} +11 -12
- package/dist/{package-bcffa3f9.cjs.prod.js → package-d75d6b9f.cjs.prod.js} +11 -12
- package/dist/serve-4062385a.esm.js +70 -0
- package/dist/serve-5a455e72.cjs.prod.js +81 -0
- package/dist/serve-b9ac0b0c.cjs.dev.js +81 -0
- package/dist/{start-936260c4.esm.js → start-c9b32028.esm.js} +4 -5
- package/dist/{start-47888d2b.cjs.prod.js → start-f52d8e68.cjs.prod.js} +4 -5
- package/dist/{start-3114422d.cjs.dev.js → start-f93cb36f.cjs.dev.js} +4 -5
- package/package.json +11 -12
- 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 +5 -6
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.prod.js +5 -6
- package/webpack/dist/commercetools-frontend-mc-scripts-webpack.esm.js +5 -6
- package/dist/has-jsx-runtime-aa5d21ee.cjs.dev.js +0 -15
- package/dist/has-jsx-runtime-c3202df5.cjs.prod.js +0 -15
- package/dist/has-jsx-runtime-e3ecb09b.esm.js +0 -13
- package/dist/serve-38456e1b.cjs.dev.js +0 -67
- package/dist/serve-be1f9439.esm.js +0 -57
- package/dist/serve-cc4a766d.cjs.prod.js +0 -67
|
@@ -25,9 +25,8 @@ var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
|
|
|
25
25
|
var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
26
26
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
27
27
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
28
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
29
|
-
var
|
|
30
|
-
var optimizations = require('./optimizations-7789145e.cjs.dev.js');
|
|
28
|
+
var createPostcssConfig = require('./create-postcss-config-7cebb3e2.cjs.dev.js');
|
|
29
|
+
var optimizations = require('./optimizations-56be74d6.cjs.dev.js');
|
|
31
30
|
var paths = require('./paths-b76fc753.cjs.dev.js');
|
|
32
31
|
var vendorsToTranspile = require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
|
|
33
32
|
|
|
@@ -255,7 +254,7 @@ function createWebpackConfigForDevelopment() {
|
|
|
255
254
|
options: {
|
|
256
255
|
babelrc: false,
|
|
257
256
|
presets: [[require.resolve('@commercetools-frontend/babel-preset-mc-app'), {
|
|
258
|
-
runtime:
|
|
257
|
+
runtime: optimizations.hasJsxRuntime() ? 'automatic' : 'classic',
|
|
259
258
|
disableCoreJs: mergedOptions.toggleFlags.disableCoreJs
|
|
260
259
|
}]],
|
|
261
260
|
// This is a feature of `babel-loader` for webpack (not Babel itself).
|
|
@@ -429,7 +428,7 @@ function createWebpackConfigForDevelopment() {
|
|
|
429
428
|
configFile: false,
|
|
430
429
|
compact: false,
|
|
431
430
|
presets: [[require.resolve('@commercetools-frontend/babel-preset-mc-app'), {
|
|
432
|
-
runtime:
|
|
431
|
+
runtime: optimizations.hasJsxRuntime() ? 'automatic' : 'classic'
|
|
433
432
|
}]],
|
|
434
433
|
plugins: _filterInstanceProperty__default["default"](_context4 = [hasReactRefresh && require.resolve('react-refresh/babel'),
|
|
435
434
|
// Add coverage instrumentation when running Cypress tests
|
|
@@ -25,9 +25,8 @@ var _createClass = require('@babel/runtime-corejs3/helpers/createClass');
|
|
|
25
25
|
var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
26
26
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
27
27
|
var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
|
|
28
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
29
|
-
var
|
|
30
|
-
var optimizations = require('./optimizations-fb93514f.cjs.prod.js');
|
|
28
|
+
var createPostcssConfig = require('./create-postcss-config-82c6d99e.cjs.prod.js');
|
|
29
|
+
var optimizations = require('./optimizations-da5a0cfa.cjs.prod.js');
|
|
31
30
|
var paths = require('./paths-7768b440.cjs.prod.js');
|
|
32
31
|
var vendorsToTranspile = require('./vendors-to-transpile-04a49d40.cjs.prod.js');
|
|
33
32
|
|
|
@@ -255,7 +254,7 @@ function createWebpackConfigForDevelopment() {
|
|
|
255
254
|
options: {
|
|
256
255
|
babelrc: false,
|
|
257
256
|
presets: [[require.resolve('@commercetools-frontend/babel-preset-mc-app'), {
|
|
258
|
-
runtime:
|
|
257
|
+
runtime: optimizations.hasJsxRuntime() ? 'automatic' : 'classic',
|
|
259
258
|
disableCoreJs: mergedOptions.toggleFlags.disableCoreJs
|
|
260
259
|
}]],
|
|
261
260
|
// This is a feature of `babel-loader` for webpack (not Babel itself).
|
|
@@ -429,7 +428,7 @@ function createWebpackConfigForDevelopment() {
|
|
|
429
428
|
configFile: false,
|
|
430
429
|
compact: false,
|
|
431
430
|
presets: [[require.resolve('@commercetools-frontend/babel-preset-mc-app'), {
|
|
432
|
-
runtime:
|
|
431
|
+
runtime: optimizations.hasJsxRuntime() ? 'automatic' : 'classic'
|
|
433
432
|
}]],
|
|
434
433
|
plugins: _filterInstanceProperty__default["default"](_context4 = [hasReactRefresh && require.resolve('react-refresh/babel'),
|
|
435
434
|
// Add coverage instrumentation when running Cypress tests
|
|
@@ -27,9 +27,8 @@ import _reduceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/insta
|
|
|
27
27
|
import _Object$assign from '@babel/runtime-corejs3/core-js-stable/object/assign';
|
|
28
28
|
import fs from 'fs';
|
|
29
29
|
import path from 'path';
|
|
30
|
-
import { c as createPostcssConfig } from './create-postcss-config-
|
|
31
|
-
import { h as hasJsxRuntime } from './
|
|
32
|
-
import { g as getWepbackCacheGroups } from './optimizations-bf991634.esm.js';
|
|
30
|
+
import { c as createPostcssConfig } from './create-postcss-config-040fa794.esm.js';
|
|
31
|
+
import { g as getWepbackCacheGroups, h as hasJsxRuntime } from './optimizations-54382f7b.esm.js';
|
|
33
32
|
import { p as paths } from './paths-39f22b8b.esm.js';
|
|
34
33
|
import { v as vendorsToTranspile } from './vendors-to-transpile-7dc84a72.esm.js';
|
|
35
34
|
|
|
@@ -29,9 +29,8 @@ var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
|
|
|
29
29
|
var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
30
30
|
var fs = require('fs');
|
|
31
31
|
var path = require('path');
|
|
32
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
33
|
-
var
|
|
34
|
-
var optimizations = require('./optimizations-fb93514f.cjs.prod.js');
|
|
32
|
+
var createPostcssConfig = require('./create-postcss-config-82c6d99e.cjs.prod.js');
|
|
33
|
+
var optimizations = require('./optimizations-da5a0cfa.cjs.prod.js');
|
|
35
34
|
var paths = require('./paths-7768b440.cjs.prod.js');
|
|
36
35
|
var vendorsToTranspile = require('./vendors-to-transpile-04a49d40.cjs.prod.js');
|
|
37
36
|
|
|
@@ -307,7 +306,7 @@ function createWebpackConfigForProduction() {
|
|
|
307
306
|
options: {
|
|
308
307
|
babelrc: false,
|
|
309
308
|
presets: [[require.resolve('@commercetools-frontend/babel-preset-mc-app'), {
|
|
310
|
-
runtime:
|
|
309
|
+
runtime: optimizations.hasJsxRuntime() ? 'automatic' : 'classic',
|
|
311
310
|
disableCoreJs: mergedOptions.toggleFlags.disableCoreJs,
|
|
312
311
|
i18nAst: mergedOptions.toggleFlags.i18nAst,
|
|
313
312
|
i18nRemoveDefaultMessage: mergedOptions.toggleFlags.i18nRemoveDefaultMessage
|
|
@@ -488,7 +487,7 @@ function createWebpackConfigForProduction() {
|
|
|
488
487
|
configFile: false,
|
|
489
488
|
compact: false,
|
|
490
489
|
presets: [[require.resolve('@commercetools-frontend/babel-preset-mc-app'), {
|
|
491
|
-
runtime:
|
|
490
|
+
runtime: optimizations.hasJsxRuntime() ? 'automatic' : 'classic'
|
|
492
491
|
}]],
|
|
493
492
|
// This is a feature of `babel-loader` for webpack (not Babel itself).
|
|
494
493
|
// It enables caching results in ./node_modules/.cache/babel-loader/
|
|
@@ -29,9 +29,8 @@ var _reduceInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/ins
|
|
|
29
29
|
var _Object$assign = require('@babel/runtime-corejs3/core-js-stable/object/assign');
|
|
30
30
|
var fs = require('fs');
|
|
31
31
|
var path = require('path');
|
|
32
|
-
var createPostcssConfig = require('./create-postcss-config-
|
|
33
|
-
var
|
|
34
|
-
var optimizations = require('./optimizations-7789145e.cjs.dev.js');
|
|
32
|
+
var createPostcssConfig = require('./create-postcss-config-7cebb3e2.cjs.dev.js');
|
|
33
|
+
var optimizations = require('./optimizations-56be74d6.cjs.dev.js');
|
|
35
34
|
var paths = require('./paths-b76fc753.cjs.dev.js');
|
|
36
35
|
var vendorsToTranspile = require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
|
|
37
36
|
|
|
@@ -307,7 +306,7 @@ function createWebpackConfigForProduction() {
|
|
|
307
306
|
options: {
|
|
308
307
|
babelrc: false,
|
|
309
308
|
presets: [[require.resolve('@commercetools-frontend/babel-preset-mc-app'), {
|
|
310
|
-
runtime:
|
|
309
|
+
runtime: optimizations.hasJsxRuntime() ? 'automatic' : 'classic',
|
|
311
310
|
disableCoreJs: mergedOptions.toggleFlags.disableCoreJs,
|
|
312
311
|
i18nAst: mergedOptions.toggleFlags.i18nAst,
|
|
313
312
|
i18nRemoveDefaultMessage: mergedOptions.toggleFlags.i18nRemoveDefaultMessage
|
|
@@ -488,7 +487,7 @@ function createWebpackConfigForProduction() {
|
|
|
488
487
|
configFile: false,
|
|
489
488
|
compact: false,
|
|
490
489
|
presets: [[require.resolve('@commercetools-frontend/babel-preset-mc-app'), {
|
|
491
|
-
runtime:
|
|
490
|
+
runtime: optimizations.hasJsxRuntime() ? 'automatic' : 'classic'
|
|
492
491
|
}]],
|
|
493
492
|
// This is a feature of `babel-loader` for webpack (not Babel itself).
|
|
494
493
|
// It enables caching results in ./node_modules/.cache/babel-loader/
|
|
@@ -21,15 +21,22 @@ let CredentialsStorage = /*#__PURE__*/function () {
|
|
|
21
21
|
this.credentialsFilePath = path.join(credentialsFolderPath, 'mc-credentials.json');
|
|
22
22
|
|
|
23
23
|
// Ensure the credentials file is present (skip if using env var token)
|
|
24
|
-
if (!process.env[MC_ACCESS_TOKEN_ENV_VAR]
|
|
25
|
-
|
|
26
|
-
recursive: true
|
|
27
|
-
});
|
|
28
|
-
// Initialize with an empty object
|
|
29
|
-
this._writeCredentials();
|
|
24
|
+
if (!process.env[MC_ACCESS_TOKEN_ENV_VAR]) {
|
|
25
|
+
this._ensureCredentialsFileExists();
|
|
30
26
|
}
|
|
31
27
|
}
|
|
32
28
|
return _createClass(CredentialsStorage, [{
|
|
29
|
+
key: "_ensureCredentialsFileExists",
|
|
30
|
+
value: function _ensureCredentialsFileExists() {
|
|
31
|
+
if (!doesFileExist(this.credentialsFilePath)) {
|
|
32
|
+
const credentialsFolderPath = path.dirname(this.credentialsFilePath);
|
|
33
|
+
fs.mkdirSync(credentialsFolderPath, {
|
|
34
|
+
recursive: true
|
|
35
|
+
});
|
|
36
|
+
this._writeCredentials();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}, {
|
|
33
40
|
key: "_writeCredentials",
|
|
34
41
|
value: function _writeCredentials(credentials) {
|
|
35
42
|
fs.writeFileSync(this.credentialsFilePath, _JSON$stringify(credentials || {}, null, 2), {
|
|
@@ -61,10 +68,7 @@ let CredentialsStorage = /*#__PURE__*/function () {
|
|
|
61
68
|
}, {
|
|
62
69
|
key: "setToken",
|
|
63
70
|
value: function setToken(environmentKey, credentials) {
|
|
64
|
-
|
|
65
|
-
if (process.env[MC_ACCESS_TOKEN_ENV_VAR]) {
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
71
|
+
this._ensureCredentialsFileExists();
|
|
68
72
|
const allCredentials = this._loadCredentials();
|
|
69
73
|
allCredentials[environmentKey] = credentials;
|
|
70
74
|
this._writeCredentials(allCredentials);
|
package/dist/{credentials-storage-6d592cd6.cjs.prod.js → credentials-storage-ea1c16dc.cjs.prod.js}
RENAMED
|
@@ -31,15 +31,22 @@ let CredentialsStorage = /*#__PURE__*/function () {
|
|
|
31
31
|
this.credentialsFilePath = path__default["default"].join(credentialsFolderPath, 'mc-credentials.json');
|
|
32
32
|
|
|
33
33
|
// Ensure the credentials file is present (skip if using env var token)
|
|
34
|
-
if (!process.env[MC_ACCESS_TOKEN_ENV_VAR]
|
|
35
|
-
|
|
36
|
-
recursive: true
|
|
37
|
-
});
|
|
38
|
-
// Initialize with an empty object
|
|
39
|
-
this._writeCredentials();
|
|
34
|
+
if (!process.env[MC_ACCESS_TOKEN_ENV_VAR]) {
|
|
35
|
+
this._ensureCredentialsFileExists();
|
|
40
36
|
}
|
|
41
37
|
}
|
|
42
38
|
return _createClass(CredentialsStorage, [{
|
|
39
|
+
key: "_ensureCredentialsFileExists",
|
|
40
|
+
value: function _ensureCredentialsFileExists() {
|
|
41
|
+
if (!doesFileExist.doesFileExist(this.credentialsFilePath)) {
|
|
42
|
+
const credentialsFolderPath = path__default["default"].dirname(this.credentialsFilePath);
|
|
43
|
+
fs__default["default"].mkdirSync(credentialsFolderPath, {
|
|
44
|
+
recursive: true
|
|
45
|
+
});
|
|
46
|
+
this._writeCredentials();
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}, {
|
|
43
50
|
key: "_writeCredentials",
|
|
44
51
|
value: function _writeCredentials(credentials) {
|
|
45
52
|
fs__default["default"].writeFileSync(this.credentialsFilePath, _JSON$stringify__default["default"](credentials || {}, null, 2), {
|
|
@@ -71,10 +78,7 @@ let CredentialsStorage = /*#__PURE__*/function () {
|
|
|
71
78
|
}, {
|
|
72
79
|
key: "setToken",
|
|
73
80
|
value: function setToken(environmentKey, credentials) {
|
|
74
|
-
|
|
75
|
-
if (process.env[MC_ACCESS_TOKEN_ENV_VAR]) {
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
81
|
+
this._ensureCredentialsFileExists();
|
|
78
82
|
const allCredentials = this._loadCredentials();
|
|
79
83
|
allCredentials[environmentKey] = credentials;
|
|
80
84
|
this._writeCredentials(allCredentials);
|
package/dist/{credentials-storage-c4c5980e.cjs.dev.js → credentials-storage-fd195144.cjs.dev.js}
RENAMED
|
@@ -31,15 +31,22 @@ let CredentialsStorage = /*#__PURE__*/function () {
|
|
|
31
31
|
this.credentialsFilePath = path__default["default"].join(credentialsFolderPath, 'mc-credentials.json');
|
|
32
32
|
|
|
33
33
|
// Ensure the credentials file is present (skip if using env var token)
|
|
34
|
-
if (!process.env[MC_ACCESS_TOKEN_ENV_VAR]
|
|
35
|
-
|
|
36
|
-
recursive: true
|
|
37
|
-
});
|
|
38
|
-
// Initialize with an empty object
|
|
39
|
-
this._writeCredentials();
|
|
34
|
+
if (!process.env[MC_ACCESS_TOKEN_ENV_VAR]) {
|
|
35
|
+
this._ensureCredentialsFileExists();
|
|
40
36
|
}
|
|
41
37
|
}
|
|
42
38
|
return _createClass(CredentialsStorage, [{
|
|
39
|
+
key: "_ensureCredentialsFileExists",
|
|
40
|
+
value: function _ensureCredentialsFileExists() {
|
|
41
|
+
if (!doesFileExist.doesFileExist(this.credentialsFilePath)) {
|
|
42
|
+
const credentialsFolderPath = path__default["default"].dirname(this.credentialsFilePath);
|
|
43
|
+
fs__default["default"].mkdirSync(credentialsFolderPath, {
|
|
44
|
+
recursive: true
|
|
45
|
+
});
|
|
46
|
+
this._writeCredentials();
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}, {
|
|
43
50
|
key: "_writeCredentials",
|
|
44
51
|
value: function _writeCredentials(credentials) {
|
|
45
52
|
fs__default["default"].writeFileSync(this.credentialsFilePath, _JSON$stringify__default["default"](credentials || {}, null, 2), {
|
|
@@ -71,10 +78,7 @@ let CredentialsStorage = /*#__PURE__*/function () {
|
|
|
71
78
|
}, {
|
|
72
79
|
key: "setToken",
|
|
73
80
|
value: function setToken(environmentKey, credentials) {
|
|
74
|
-
|
|
75
|
-
if (process.env[MC_ACCESS_TOKEN_ENV_VAR]) {
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
81
|
+
this._ensureCredentialsFileExists();
|
|
78
82
|
const allCredentials = this._loadCredentials();
|
|
79
83
|
allCredentials[environmentKey] = credentials;
|
|
80
84
|
this._writeCredentials(allCredentials);
|
|
@@ -7,8 +7,8 @@ var _findInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/insta
|
|
|
7
7
|
var chalk = require('chalk');
|
|
8
8
|
var prompts = require('prompts');
|
|
9
9
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
10
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
11
|
-
var graphqlRequests = require('./graphql-requests-
|
|
10
|
+
var credentialsStorage$1 = require('./credentials-storage-fd195144.cjs.dev.js');
|
|
11
|
+
var graphqlRequests = require('./graphql-requests-24e04c13.cjs.dev.js');
|
|
12
12
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
13
13
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
14
14
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
@@ -30,7 +30,7 @@ require('graphql');
|
|
|
30
30
|
require('graphql-request');
|
|
31
31
|
require('@commercetools-frontend/constants');
|
|
32
32
|
require('@commercetools/http-user-agent');
|
|
33
|
-
require('./package-
|
|
33
|
+
require('./package-6dcc2c4f.cjs.dev.js');
|
|
34
34
|
|
|
35
35
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
36
36
|
|
|
@@ -7,8 +7,8 @@ var _findInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/insta
|
|
|
7
7
|
var chalk = require('chalk');
|
|
8
8
|
var prompts = require('prompts');
|
|
9
9
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
10
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
11
|
-
var graphqlRequests = require('./graphql-requests-
|
|
10
|
+
var credentialsStorage$1 = require('./credentials-storage-ea1c16dc.cjs.prod.js');
|
|
11
|
+
var graphqlRequests = require('./graphql-requests-5e31d639.cjs.prod.js');
|
|
12
12
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
13
13
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
14
14
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
@@ -30,7 +30,7 @@ require('graphql');
|
|
|
30
30
|
require('graphql-request');
|
|
31
31
|
require('@commercetools-frontend/constants');
|
|
32
32
|
require('@commercetools/http-user-agent');
|
|
33
|
-
require('./package-
|
|
33
|
+
require('./package-d75d6b9f.cjs.prod.js');
|
|
34
34
|
|
|
35
35
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
36
36
|
|
package/dist/{deployment-previews-set-e4851a8c.esm.js → deployment-previews-set-add2d9c6.esm.js}
RENAMED
|
@@ -5,8 +5,8 @@ import _findInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instanc
|
|
|
5
5
|
import chalk from 'chalk';
|
|
6
6
|
import prompts from 'prompts';
|
|
7
7
|
import { processConfig } from '@commercetools-frontend/application-config';
|
|
8
|
-
import { C as CredentialsStorage } from './credentials-storage-
|
|
9
|
-
import { d as fetchCustomApplication, g as updateCustomApplicationDeploymentPreview, h as createCustomApplicationDeploymentPreview } from './graphql-requests-
|
|
8
|
+
import { C as CredentialsStorage } from './credentials-storage-67deadc3.esm.js';
|
|
9
|
+
import { d as fetchCustomApplication, g as updateCustomApplicationDeploymentPreview, h as createCustomApplicationDeploymentPreview } from './graphql-requests-c07e7b8f.esm.js';
|
|
10
10
|
import '@babel/runtime-corejs3/helpers/classCallCheck';
|
|
11
11
|
import '@babel/runtime-corejs3/helpers/createClass';
|
|
12
12
|
import '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
@@ -28,7 +28,7 @@ import 'graphql';
|
|
|
28
28
|
import 'graphql-request';
|
|
29
29
|
import '@commercetools-frontend/constants';
|
|
30
30
|
import '@commercetools/http-user-agent';
|
|
31
|
-
import './package-
|
|
31
|
+
import './package-14789720.esm.js';
|
|
32
32
|
|
|
33
33
|
const credentialsStorage = new CredentialsStorage();
|
|
34
34
|
const validateUrl = function () {
|
|
@@ -14,9 +14,9 @@ var chalk = require('chalk');
|
|
|
14
14
|
var graphql = require('graphql');
|
|
15
15
|
var graphqlRequest = require('graphql-request');
|
|
16
16
|
var constants = require('@commercetools-frontend/constants');
|
|
17
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
17
|
+
var credentialsStorage$1 = require('./credentials-storage-fd195144.cjs.dev.js');
|
|
18
18
|
var createHttpUserAgent = require('@commercetools/http-user-agent');
|
|
19
|
-
var _package = require('./package-
|
|
19
|
+
var _package = require('./package-6dcc2c4f.cjs.dev.js');
|
|
20
20
|
|
|
21
21
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
22
22
|
|
package/dist/{graphql-requests-3cf2d374.cjs.prod.js → graphql-requests-5e31d639.cjs.prod.js}
RENAMED
|
@@ -14,9 +14,9 @@ var chalk = require('chalk');
|
|
|
14
14
|
var graphql = require('graphql');
|
|
15
15
|
var graphqlRequest = require('graphql-request');
|
|
16
16
|
var constants = require('@commercetools-frontend/constants');
|
|
17
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
17
|
+
var credentialsStorage$1 = require('./credentials-storage-ea1c16dc.cjs.prod.js');
|
|
18
18
|
var createHttpUserAgent = require('@commercetools/http-user-agent');
|
|
19
|
-
var _package = require('./package-
|
|
19
|
+
var _package = require('./package-d75d6b9f.cjs.prod.js');
|
|
20
20
|
|
|
21
21
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
22
22
|
|
|
@@ -12,9 +12,9 @@ import chalk from 'chalk';
|
|
|
12
12
|
import { print } from 'graphql';
|
|
13
13
|
import { GraphQLClient, ClientError } from 'graphql-request';
|
|
14
14
|
import { GRAPHQL_TARGETS, SUPPORTED_HEADERS } from '@commercetools-frontend/constants';
|
|
15
|
-
import { C as CredentialsStorage } from './credentials-storage-
|
|
15
|
+
import { C as CredentialsStorage } from './credentials-storage-67deadc3.esm.js';
|
|
16
16
|
import createHttpUserAgent from '@commercetools/http-user-agent';
|
|
17
|
-
import { p as pkgJson } from './package-
|
|
17
|
+
import { p as pkgJson } from './package-14789720.esm.js';
|
|
18
18
|
|
|
19
19
|
const userAgent = createHttpUserAgent({
|
|
20
20
|
name: 'graphql-request',
|
|
@@ -15,10 +15,10 @@ var crypto = require('node:crypto');
|
|
|
15
15
|
var process = require('node:process');
|
|
16
16
|
var chalk = require('chalk');
|
|
17
17
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
18
|
-
var _package = require('./package-
|
|
18
|
+
var _package = require('./package-6dcc2c4f.cjs.dev.js');
|
|
19
19
|
var http = require('node:http');
|
|
20
20
|
var jwtDecode = require('jwt-decode');
|
|
21
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
21
|
+
var credentialsStorage$1 = require('./credentials-storage-fd195144.cjs.dev.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
@@ -13,10 +13,10 @@ import crypto from 'node:crypto';
|
|
|
13
13
|
import process, { exit } from 'node:process';
|
|
14
14
|
import chalk from 'chalk';
|
|
15
15
|
import { processConfig } from '@commercetools-frontend/application-config';
|
|
16
|
-
import { p as pkgJson } from './package-
|
|
16
|
+
import { p as pkgJson } from './package-14789720.esm.js';
|
|
17
17
|
import http from 'node:http';
|
|
18
18
|
import jwtDecode from 'jwt-decode';
|
|
19
|
-
import { C as CredentialsStorage } from './credentials-storage-
|
|
19
|
+
import { C as CredentialsStorage } from './credentials-storage-67deadc3.esm.js';
|
|
20
20
|
import '@babel/runtime-corejs3/helpers/classCallCheck';
|
|
21
21
|
import '@babel/runtime-corejs3/helpers/createClass';
|
|
22
22
|
import '@babel/runtime-corejs3/core-js-stable/json/stringify';
|
|
@@ -15,10 +15,10 @@ var crypto = require('node:crypto');
|
|
|
15
15
|
var process = require('node:process');
|
|
16
16
|
var chalk = require('chalk');
|
|
17
17
|
var applicationConfig = require('@commercetools-frontend/application-config');
|
|
18
|
-
var _package = require('./package-
|
|
18
|
+
var _package = require('./package-d75d6b9f.cjs.prod.js');
|
|
19
19
|
var http = require('node:http');
|
|
20
20
|
var jwtDecode = require('jwt-decode');
|
|
21
|
-
var credentialsStorage$1 = require('./credentials-storage-
|
|
21
|
+
var credentialsStorage$1 = require('./credentials-storage-ea1c16dc.cjs.prod.js');
|
|
22
22
|
require('@babel/runtime-corejs3/helpers/classCallCheck');
|
|
23
23
|
require('@babel/runtime-corejs3/helpers/createClass');
|
|
24
24
|
require('@babel/runtime-corejs3/core-js-stable/json/stringify');
|
|
@@ -13,12 +13,32 @@ import _Object$defineProperties from '@babel/runtime-corejs3/core-js-stable/obje
|
|
|
13
13
|
import _Object$defineProperty from '@babel/runtime-corejs3/core-js-stable/object/define-property';
|
|
14
14
|
import chalk from 'chalk';
|
|
15
15
|
|
|
16
|
+
function hasJsxRuntime() {
|
|
17
|
+
if (process.env.ENABLE_NEW_JSX_TRANSFORM !== 'true') {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
try {
|
|
21
|
+
require.resolve('react/jsx-runtime');
|
|
22
|
+
return true;
|
|
23
|
+
} catch (e) {
|
|
24
|
+
return false;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
16
28
|
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
17
29
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context3 = ownKeys(Object(t), !0)).call(_context3, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context4 = ownKeys(Object(t))).call(_context4, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
18
30
|
|
|
19
|
-
// Dependencies to be split/grouped into separate chunks.
|
|
20
|
-
// This is useful to reduce the main bundle size and have more
|
|
21
|
-
//
|
|
31
|
+
// Dependencies to be split/grouped into separate chunks for the Webpack build.
|
|
32
|
+
// This is useful to reduce the main bundle size and have more dedicated
|
|
33
|
+
// caching strategy for specific chunks.
|
|
34
|
+
//
|
|
35
|
+
// NOTE: this is intentionally Webpack-only. The Vite build does NOT use
|
|
36
|
+
// manualChunks — Rollup's declarative manualChunks form does not claim
|
|
37
|
+
// transitive deps, which caused a chunk-level cycle (icons ↔ app-shell) that
|
|
38
|
+
// crashed at runtime with a TDZ ("aM is undefined") error. Rollup's default
|
|
39
|
+
// chunking handles co-location correctly; Webpack's splitChunks with a regex
|
|
40
|
+
// test has different, cycle-safe semantics (shared modules are hoisted into a
|
|
41
|
+
// shared chunk automatically).
|
|
22
42
|
const manualChunks = {
|
|
23
43
|
'commercetools-uikit-icons': ['@commercetools-uikit/icons'],
|
|
24
44
|
moment: ['moment', 'moment-timezone'],
|
|
@@ -40,11 +60,6 @@ const removeNonExistantDependencies = (manualChunks, appDependencies) => {
|
|
|
40
60
|
}, {});
|
|
41
61
|
};
|
|
42
62
|
|
|
43
|
-
// Reference: https://rollupjs.org/configuration-options/#output-manualchunks
|
|
44
|
-
function getViteCacheGroups(appDependencies) {
|
|
45
|
-
return removeNonExistantDependencies(manualChunks, _Object$keys(appDependencies));
|
|
46
|
-
}
|
|
47
|
-
|
|
48
63
|
// Reference: https://webpack.js.org/plugins/split-chunks-plugin/
|
|
49
64
|
function getWepbackCacheGroups(appDependencies) {
|
|
50
65
|
var _context2;
|
|
@@ -64,4 +79,4 @@ function getWepbackCacheGroups(appDependencies) {
|
|
|
64
79
|
return result;
|
|
65
80
|
}
|
|
66
81
|
|
|
67
|
-
export {
|
|
82
|
+
export { getWepbackCacheGroups as g, hasJsxRuntime as h };
|
|
@@ -30,12 +30,32 @@ var _Object$defineProperties__default = /*#__PURE__*/_interopDefault(_Object$def
|
|
|
30
30
|
var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defineProperty);
|
|
31
31
|
var chalk__default = /*#__PURE__*/_interopDefault(chalk);
|
|
32
32
|
|
|
33
|
+
function hasJsxRuntime() {
|
|
34
|
+
if (process.env.ENABLE_NEW_JSX_TRANSFORM !== 'true') {
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
try {
|
|
38
|
+
require.resolve('react/jsx-runtime');
|
|
39
|
+
return true;
|
|
40
|
+
} catch (e) {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
33
45
|
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
34
46
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context3 = ownKeys(Object(t), !0)).call(_context3, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context4 = ownKeys(Object(t))).call(_context4, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
35
47
|
|
|
36
|
-
// Dependencies to be split/grouped into separate chunks.
|
|
37
|
-
// This is useful to reduce the main bundle size and have more
|
|
38
|
-
//
|
|
48
|
+
// Dependencies to be split/grouped into separate chunks for the Webpack build.
|
|
49
|
+
// This is useful to reduce the main bundle size and have more dedicated
|
|
50
|
+
// caching strategy for specific chunks.
|
|
51
|
+
//
|
|
52
|
+
// NOTE: this is intentionally Webpack-only. The Vite build does NOT use
|
|
53
|
+
// manualChunks — Rollup's declarative manualChunks form does not claim
|
|
54
|
+
// transitive deps, which caused a chunk-level cycle (icons ↔ app-shell) that
|
|
55
|
+
// crashed at runtime with a TDZ ("aM is undefined") error. Rollup's default
|
|
56
|
+
// chunking handles co-location correctly; Webpack's splitChunks with a regex
|
|
57
|
+
// test has different, cycle-safe semantics (shared modules are hoisted into a
|
|
58
|
+
// shared chunk automatically).
|
|
39
59
|
const manualChunks = {
|
|
40
60
|
'commercetools-uikit-icons': ['@commercetools-uikit/icons'],
|
|
41
61
|
moment: ['moment', 'moment-timezone'],
|
|
@@ -57,11 +77,6 @@ const removeNonExistantDependencies = (manualChunks, appDependencies) => {
|
|
|
57
77
|
}, {});
|
|
58
78
|
};
|
|
59
79
|
|
|
60
|
-
// Reference: https://rollupjs.org/configuration-options/#output-manualchunks
|
|
61
|
-
function getViteCacheGroups(appDependencies) {
|
|
62
|
-
return removeNonExistantDependencies(manualChunks, _Object$keys__default["default"](appDependencies));
|
|
63
|
-
}
|
|
64
|
-
|
|
65
80
|
// Reference: https://webpack.js.org/plugins/split-chunks-plugin/
|
|
66
81
|
function getWepbackCacheGroups(appDependencies) {
|
|
67
82
|
var _context2;
|
|
@@ -81,5 +96,5 @@ function getWepbackCacheGroups(appDependencies) {
|
|
|
81
96
|
return result;
|
|
82
97
|
}
|
|
83
98
|
|
|
84
|
-
exports.getViteCacheGroups = getViteCacheGroups;
|
|
85
99
|
exports.getWepbackCacheGroups = getWepbackCacheGroups;
|
|
100
|
+
exports.hasJsxRuntime = hasJsxRuntime;
|
|
@@ -30,12 +30,32 @@ var _Object$defineProperties__default = /*#__PURE__*/_interopDefault(_Object$def
|
|
|
30
30
|
var _Object$defineProperty__default = /*#__PURE__*/_interopDefault(_Object$defineProperty);
|
|
31
31
|
var chalk__default = /*#__PURE__*/_interopDefault(chalk);
|
|
32
32
|
|
|
33
|
+
function hasJsxRuntime() {
|
|
34
|
+
if (process.env.ENABLE_NEW_JSX_TRANSFORM !== 'true') {
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
try {
|
|
38
|
+
require.resolve('react/jsx-runtime');
|
|
39
|
+
return true;
|
|
40
|
+
} catch (e) {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
33
45
|
function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Object$getOwnPropertySymbols__default["default"]) { var o = _Object$getOwnPropertySymbols__default["default"](e); r && (o = _filterInstanceProperty__default["default"](o).call(o, function (r) { return _Object$getOwnPropertyDescriptor__default["default"](e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
34
46
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context3 = ownKeys(Object(t), !0)).call(_context3, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context4 = ownKeys(Object(t))).call(_context4, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
|
|
35
47
|
|
|
36
|
-
// Dependencies to be split/grouped into separate chunks.
|
|
37
|
-
// This is useful to reduce the main bundle size and have more
|
|
38
|
-
//
|
|
48
|
+
// Dependencies to be split/grouped into separate chunks for the Webpack build.
|
|
49
|
+
// This is useful to reduce the main bundle size and have more dedicated
|
|
50
|
+
// caching strategy for specific chunks.
|
|
51
|
+
//
|
|
52
|
+
// NOTE: this is intentionally Webpack-only. The Vite build does NOT use
|
|
53
|
+
// manualChunks — Rollup's declarative manualChunks form does not claim
|
|
54
|
+
// transitive deps, which caused a chunk-level cycle (icons ↔ app-shell) that
|
|
55
|
+
// crashed at runtime with a TDZ ("aM is undefined") error. Rollup's default
|
|
56
|
+
// chunking handles co-location correctly; Webpack's splitChunks with a regex
|
|
57
|
+
// test has different, cycle-safe semantics (shared modules are hoisted into a
|
|
58
|
+
// shared chunk automatically).
|
|
39
59
|
const manualChunks = {
|
|
40
60
|
'commercetools-uikit-icons': ['@commercetools-uikit/icons'],
|
|
41
61
|
moment: ['moment', 'moment-timezone'],
|
|
@@ -57,11 +77,6 @@ const removeNonExistantDependencies = (manualChunks, appDependencies) => {
|
|
|
57
77
|
}, {});
|
|
58
78
|
};
|
|
59
79
|
|
|
60
|
-
// Reference: https://rollupjs.org/configuration-options/#output-manualchunks
|
|
61
|
-
function getViteCacheGroups(appDependencies) {
|
|
62
|
-
return removeNonExistantDependencies(manualChunks, _Object$keys__default["default"](appDependencies));
|
|
63
|
-
}
|
|
64
|
-
|
|
65
80
|
// Reference: https://webpack.js.org/plugins/split-chunks-plugin/
|
|
66
81
|
function getWepbackCacheGroups(appDependencies) {
|
|
67
82
|
var _context2;
|
|
@@ -81,5 +96,5 @@ function getWepbackCacheGroups(appDependencies) {
|
|
|
81
96
|
return result;
|
|
82
97
|
}
|
|
83
98
|
|
|
84
|
-
exports.getViteCacheGroups = getViteCacheGroups;
|
|
85
99
|
exports.getWepbackCacheGroups = getWepbackCacheGroups;
|
|
100
|
+
exports.hasJsxRuntime = hasJsxRuntime;
|