@commercetools-frontend/mc-scripts 22.30.3 → 22.32.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.
Files changed (73) hide show
  1. package/application-runtime/dist/commercetools-frontend-mc-scripts-application-runtime.cjs.dev.js +1 -1
  2. package/application-runtime/dist/commercetools-frontend-mc-scripts-application-runtime.cjs.prod.js +1 -1
  3. package/application-runtime/dist/commercetools-frontend-mc-scripts-application-runtime.esm.js +1 -1
  4. package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.dev.js +19 -19
  5. package/cli/dist/commercetools-frontend-mc-scripts-cli.cjs.prod.js +19 -19
  6. package/cli/dist/commercetools-frontend-mc-scripts-cli.esm.js +19 -19
  7. package/dist/{build-ed58afd4.cjs.prod.js → build-08ff73fd.cjs.prod.js} +6 -6
  8. package/dist/{build-f8f96d22.esm.js → build-a7ec1f05.esm.js} +6 -6
  9. package/dist/{build-374d5127.cjs.dev.js → build-bd9aee39.cjs.dev.js} +6 -6
  10. package/dist/{build-vite-87662f4d.cjs.dev.js → build-vite-14eeea5d.cjs.dev.js} +7 -8
  11. package/dist/{build-vite-b19a39fb.esm.js → build-vite-71767c7d.esm.js} +7 -8
  12. package/dist/{build-vite-c7ccff49.cjs.prod.js → build-vite-cefb3775.cjs.prod.js} +7 -8
  13. package/dist/commercetools-frontend-mc-scripts.cjs.dev.js +1 -1
  14. package/dist/commercetools-frontend-mc-scripts.cjs.prod.js +1 -1
  15. package/dist/commercetools-frontend-mc-scripts.esm.js +1 -1
  16. package/dist/{compile-html-adfef598.esm.js → compile-html-025cd493.esm.js} +2 -4
  17. package/dist/{compile-html-b80f9651.cjs.prod.js → compile-html-50fd05ec.cjs.prod.js} +2 -5
  18. package/dist/{compile-html-8679f721.cjs.dev.js → compile-html-f4ac88cc.cjs.dev.js} +2 -5
  19. package/dist/{config-sync-936e72db.cjs.prod.js → config-sync-1a5e684e.cjs.prod.js} +64 -74
  20. package/dist/{config-sync-165bac10.esm.js → config-sync-6fe2b2ea.esm.js} +66 -75
  21. package/dist/{config-sync-91025b05.cjs.dev.js → config-sync-973cc0e6.cjs.dev.js} +66 -76
  22. package/dist/{create-postcss-config-3f8a8a1e.cjs.dev.js → create-postcss-config-53646e6e.cjs.dev.js} +1 -1
  23. package/dist/{create-postcss-config-c68f6c12.cjs.prod.js → create-postcss-config-72727fa1.cjs.prod.js} +1 -1
  24. package/dist/{create-postcss-config-bb20f68b.esm.js → create-postcss-config-f0b24bde.esm.js} +1 -1
  25. package/dist/{create-webpack-config-for-development-036fc76e.cjs.prod.js → create-webpack-config-for-development-3bd48a61.cjs.prod.js} +5 -5
  26. package/dist/{create-webpack-config-for-development-96dc8df0.esm.js → create-webpack-config-for-development-6cb3a935.esm.js} +5 -5
  27. package/dist/{create-webpack-config-for-development-6b10522d.cjs.dev.js → create-webpack-config-for-development-b73b86a9.cjs.dev.js} +5 -5
  28. package/dist/{create-webpack-config-for-production-faf72b43.cjs.prod.js → create-webpack-config-for-production-5354659a.cjs.prod.js} +6 -6
  29. package/dist/{create-webpack-config-for-production-41e85090.cjs.dev.js → create-webpack-config-for-production-6acfa41f.cjs.dev.js} +6 -6
  30. package/dist/{create-webpack-config-for-production-9014c389.esm.js → create-webpack-config-for-production-b350cb01.esm.js} +6 -6
  31. package/dist/{credentials-storage-cf1518cc.cjs.prod.js → credentials-storage-685c22ae.cjs.prod.js} +2 -2
  32. package/dist/{credentials-storage-2dc3e10a.cjs.dev.js → credentials-storage-68b26b04.cjs.dev.js} +2 -2
  33. package/dist/{credentials-storage-fb54bd0e.esm.js → credentials-storage-c3928611.esm.js} +2 -2
  34. package/dist/{deployment-previews-set-af0b645e.cjs.dev.js → deployment-previews-set-33a245ad.cjs.dev.js} +22 -28
  35. package/dist/{deployment-previews-set-8b5a0355.cjs.prod.js → deployment-previews-set-41da0ec8.cjs.prod.js} +22 -28
  36. package/dist/{deployment-previews-set-cdb7374b.esm.js → deployment-previews-set-70e0f7a5.esm.js} +22 -27
  37. package/dist/{graphql-requests-bc69723a.cjs.dev.js → graphql-requests-6d8dcfcc.cjs.prod.js} +3 -6
  38. package/dist/{graphql-requests-95e85cf8.esm.js → graphql-requests-d8908549.esm.js} +3 -6
  39. package/dist/{graphql-requests-62dbe8e1.cjs.prod.js → graphql-requests-e018f3d4.cjs.dev.js} +3 -6
  40. package/dist/{i18n-message-complilation-8aec9d1b.esm.js → i18n-message-complilation-21d3b0aa.esm.js} +1 -1
  41. package/dist/{i18n-message-complilation-3f80e8d6.cjs.dev.js → i18n-message-complilation-7311cb29.cjs.dev.js} +1 -1
  42. package/dist/{i18n-message-complilation-393d344a.cjs.prod.js → i18n-message-complilation-7762da61.cjs.prod.js} +1 -1
  43. package/dist/{login-67913f55.cjs.prod.js → login-2c2090f5.cjs.prod.js} +8 -8
  44. package/dist/{login-6aea211e.esm.js → login-2f5f7814.esm.js} +8 -8
  45. package/dist/{login-66953929.cjs.dev.js → login-d0610723.cjs.dev.js} +8 -8
  46. package/dist/{package-c9d3b097.cjs.prod.js → package-528ae14f.cjs.dev.js} +8 -8
  47. package/dist/{package-25051b09.cjs.dev.js → package-94bebdc0.cjs.prod.js} +8 -8
  48. package/dist/{package-06d2ecaa.esm.js → package-afe32fdb.esm.js} +8 -8
  49. package/dist/{paths-7bf7e88e.esm.js → paths-39f22b8b.esm.js} +4 -9
  50. package/dist/{paths-af1a725a.cjs.prod.js → paths-7768b440.cjs.prod.js} +4 -10
  51. package/dist/{paths-ec3e3a7d.cjs.dev.js → paths-b76fc753.cjs.dev.js} +4 -10
  52. package/dist/{serve-7b2e35a1.cjs.prod.js → serve-5666b16a.cjs.prod.js} +2 -3
  53. package/dist/{serve-5f480513.esm.js → serve-6a951584.esm.js} +2 -3
  54. package/dist/{serve-efceb930.cjs.dev.js → serve-f898c45e.cjs.dev.js} +2 -3
  55. package/dist/{start-64e20457.cjs.dev.js → start-557ada88.cjs.dev.js} +7 -8
  56. package/dist/{start-e3f737f4.cjs.prod.js → start-6d21be00.cjs.prod.js} +7 -8
  57. package/dist/{start-a6e80001.esm.js → start-70203f29.esm.js} +7 -8
  58. package/dist/{start-vite-8e72a6a9.cjs.prod.js → start-vite-1f2a92bd.cjs.prod.js} +3 -4
  59. package/dist/{start-vite-7d25a064.cjs.dev.js → start-vite-ce32d36a.cjs.dev.js} +3 -4
  60. package/dist/{start-vite-e706f764.esm.js → start-vite-d68b39d3.esm.js} +3 -4
  61. package/dist/{vite-plugin-svgr-13d96e7a.esm.js → vite-plugin-svgr-069f402d.esm.js} +2 -2
  62. package/dist/{vite-plugin-svgr-496f5b25.cjs.dev.js → vite-plugin-svgr-7fb42bbf.cjs.dev.js} +2 -2
  63. package/dist/{vite-plugin-svgr-7def8ea1.cjs.prod.js → vite-plugin-svgr-b080c510.cjs.prod.js} +2 -2
  64. package/package.json +8 -8
  65. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.dev.js +2 -2
  66. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.cjs.prod.js +2 -2
  67. package/postcss/dist/commercetools-frontend-mc-scripts-postcss.esm.js +2 -2
  68. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.dev.js +5 -5
  69. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.cjs.prod.js +5 -5
  70. package/webpack/dist/commercetools-frontend-mc-scripts-webpack.esm.js +5 -5
  71. package/webpack-loaders/i18n-message-compilation-loader/dist/commercetools-frontend-mc-scripts-webpack-loaders-i18n-message-compilation-loader.cjs.dev.js +1 -1
  72. package/webpack-loaders/i18n-message-compilation-loader/dist/commercetools-frontend-mc-scripts-webpack-loaders-i18n-message-compilation-loader.cjs.prod.js +1 -1
  73. package/webpack-loaders/i18n-message-compilation-loader/dist/commercetools-frontend-mc-scripts-webpack-loaders-i18n-message-compilation-loader.esm.js +1 -1
@@ -9,13 +9,12 @@ var fs = require('fs-extra');
9
9
  var vite = require('vite');
10
10
  var assets = require('@commercetools-frontend/assets');
11
11
  var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
12
- var paths = require('./paths-ec3e3a7d.cjs.dev.js');
12
+ var paths = require('./paths-b76fc753.cjs.dev.js');
13
13
  var cliLib = require('@formatjs/cli-lib');
14
14
  var pluginutils = require('@rollup/pluginutils');
15
- var i18nMessageComplilation = require('./i18n-message-complilation-3f80e8d6.cjs.dev.js');
16
- var vitePluginSvgr = require('./vite-plugin-svgr-496f5b25.cjs.dev.js');
15
+ var i18nMessageComplilation = require('./i18n-message-complilation-7311cb29.cjs.dev.js');
16
+ var vitePluginSvgr = require('./vite-plugin-svgr-7fb42bbf.cjs.dev.js');
17
17
  require('@babel/runtime-corejs3/core-js-stable/instance/find');
18
- require('@babel/runtime-corejs3/core-js-stable/instance/concat');
19
18
  require('fs');
20
19
  require('./does-file-exist-eb86baca.cjs.dev.js');
21
20
  require('node:fs');
@@ -35,7 +34,7 @@ var fs__default = /*#__PURE__*/_interopDefault(fs);
35
34
  // This script/function is injected into the `index.html` and used by Vite
36
35
  // on runtime to build the assets URL (for example when using a separate CDN for the assets).
37
36
  // Inspired by https://github.com/vitejs/vite/blob/main/playground/assets/vite.config-runtime-base.js
38
- const dynamicBaseAssetsCode = "globalThis.__toCdnUrl = filePath => window.app.cdnUrl.replace(/\\/$/, '') + '/' + filePath;";
37
+ const dynamicBaseAssetsCode = `globalThis.__toCdnUrl = filePath => window.app.cdnUrl.replace(/\\/$/, '') + '/' + filePath;`;
39
38
  function vitePluginDynamicBaseAssetsGlobals() {
40
39
  return {
41
40
  name: 'dynamic-base-assets-globals',
@@ -94,7 +93,7 @@ async function run() {
94
93
  const html = mcHtmlTemplate.generateTemplate({
95
94
  // Define the module entry point (path relative from the `/public` folder).
96
95
  // NOTE: that this is different from the development configuration.
97
- scriptImports: ["<script type=\"module\" src=\"/".concat(appEntryPoint, "\"></script>")]
96
+ scriptImports: [`<script type="module" src="/${appEntryPoint}"></script>`]
98
97
  });
99
98
  // Write `index.html` (template) into the `/public` folder.
100
99
  fs__default["default"].writeFileSync(paths.paths.appIndexHtml, html, {
@@ -134,10 +133,10 @@ async function run() {
134
133
  renderBuiltUrl(filename, _ref) {
135
134
  let hostType = _ref.hostType;
136
135
  if (hostType === 'html') {
137
- return "__CDN_URL__".concat(filename);
136
+ return `__CDN_URL__${filename}`;
138
137
  }
139
138
  return {
140
- runtime: "window.__toCdnUrl(".concat(_JSON$stringify__default["default"](filename), ")")
139
+ runtime: `window.__toCdnUrl(${_JSON$stringify__default["default"](filename)})`
141
140
  };
142
141
  }
143
142
  },
@@ -7,13 +7,12 @@ import fs from 'fs-extra';
7
7
  import { build } from 'vite';
8
8
  import { packageLocation } from '@commercetools-frontend/assets';
9
9
  import { generateTemplate } from '@commercetools-frontend/mc-html-template';
10
- import { p as paths } from './paths-7bf7e88e.esm.js';
10
+ import { p as paths } from './paths-39f22b8b.esm.js';
11
11
  import { compile } from '@formatjs/cli-lib';
12
12
  import { createFilter } from '@rollup/pluginutils';
13
- import { g as getI18nMessageFormat, h as handleMessageCompilationError } from './i18n-message-complilation-8aec9d1b.esm.js';
14
- import { v as vitePluginSvgr } from './vite-plugin-svgr-13d96e7a.esm.js';
13
+ import { g as getI18nMessageFormat, h as handleMessageCompilationError } from './i18n-message-complilation-21d3b0aa.esm.js';
14
+ import { v as vitePluginSvgr } from './vite-plugin-svgr-069f402d.esm.js';
15
15
  import '@babel/runtime-corejs3/core-js-stable/instance/find';
16
- import '@babel/runtime-corejs3/core-js-stable/instance/concat';
17
16
  import 'fs';
18
17
  import './does-file-exist-32618334.esm.js';
19
18
  import 'node:fs';
@@ -24,7 +23,7 @@ import 'crypto';
24
23
  // This script/function is injected into the `index.html` and used by Vite
25
24
  // on runtime to build the assets URL (for example when using a separate CDN for the assets).
26
25
  // Inspired by https://github.com/vitejs/vite/blob/main/playground/assets/vite.config-runtime-base.js
27
- const dynamicBaseAssetsCode = "globalThis.__toCdnUrl = filePath => window.app.cdnUrl.replace(/\\/$/, '') + '/' + filePath;";
26
+ const dynamicBaseAssetsCode = `globalThis.__toCdnUrl = filePath => window.app.cdnUrl.replace(/\\/$/, '') + '/' + filePath;`;
28
27
  function vitePluginDynamicBaseAssetsGlobals() {
29
28
  return {
30
29
  name: 'dynamic-base-assets-globals',
@@ -83,7 +82,7 @@ async function run() {
83
82
  const html = generateTemplate({
84
83
  // Define the module entry point (path relative from the `/public` folder).
85
84
  // NOTE: that this is different from the development configuration.
86
- scriptImports: ["<script type=\"module\" src=\"/".concat(appEntryPoint, "\"></script>")]
85
+ scriptImports: [`<script type="module" src="/${appEntryPoint}"></script>`]
87
86
  });
88
87
  // Write `index.html` (template) into the `/public` folder.
89
88
  fs.writeFileSync(paths.appIndexHtml, html, {
@@ -123,10 +122,10 @@ async function run() {
123
122
  renderBuiltUrl(filename, _ref) {
124
123
  let hostType = _ref.hostType;
125
124
  if (hostType === 'html') {
126
- return "__CDN_URL__".concat(filename);
125
+ return `__CDN_URL__${filename}`;
127
126
  }
128
127
  return {
129
- runtime: "window.__toCdnUrl(".concat(_JSON$stringify(filename), ")")
128
+ runtime: `window.__toCdnUrl(${_JSON$stringify(filename)})`
130
129
  };
131
130
  }
132
131
  },
@@ -9,13 +9,12 @@ var fs = require('fs-extra');
9
9
  var vite = require('vite');
10
10
  var assets = require('@commercetools-frontend/assets');
11
11
  var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
12
- var paths = require('./paths-af1a725a.cjs.prod.js');
12
+ var paths = require('./paths-7768b440.cjs.prod.js');
13
13
  var cliLib = require('@formatjs/cli-lib');
14
14
  var pluginutils = require('@rollup/pluginutils');
15
- var i18nMessageComplilation = require('./i18n-message-complilation-393d344a.cjs.prod.js');
16
- var vitePluginSvgr = require('./vite-plugin-svgr-7def8ea1.cjs.prod.js');
15
+ var i18nMessageComplilation = require('./i18n-message-complilation-7762da61.cjs.prod.js');
16
+ var vitePluginSvgr = require('./vite-plugin-svgr-b080c510.cjs.prod.js');
17
17
  require('@babel/runtime-corejs3/core-js-stable/instance/find');
18
- require('@babel/runtime-corejs3/core-js-stable/instance/concat');
19
18
  require('fs');
20
19
  require('./does-file-exist-be53305d.cjs.prod.js');
21
20
  require('node:fs');
@@ -35,7 +34,7 @@ var fs__default = /*#__PURE__*/_interopDefault(fs);
35
34
  // This script/function is injected into the `index.html` and used by Vite
36
35
  // on runtime to build the assets URL (for example when using a separate CDN for the assets).
37
36
  // Inspired by https://github.com/vitejs/vite/blob/main/playground/assets/vite.config-runtime-base.js
38
- const dynamicBaseAssetsCode = "globalThis.__toCdnUrl = filePath => window.app.cdnUrl.replace(/\\/$/, '') + '/' + filePath;";
37
+ const dynamicBaseAssetsCode = `globalThis.__toCdnUrl = filePath => window.app.cdnUrl.replace(/\\/$/, '') + '/' + filePath;`;
39
38
  function vitePluginDynamicBaseAssetsGlobals() {
40
39
  return {
41
40
  name: 'dynamic-base-assets-globals',
@@ -94,7 +93,7 @@ async function run() {
94
93
  const html = mcHtmlTemplate.generateTemplate({
95
94
  // Define the module entry point (path relative from the `/public` folder).
96
95
  // NOTE: that this is different from the development configuration.
97
- scriptImports: ["<script type=\"module\" src=\"/".concat(appEntryPoint, "\"></script>")]
96
+ scriptImports: [`<script type="module" src="/${appEntryPoint}"></script>`]
98
97
  });
99
98
  // Write `index.html` (template) into the `/public` folder.
100
99
  fs__default["default"].writeFileSync(paths.paths.appIndexHtml, html, {
@@ -134,10 +133,10 @@ async function run() {
134
133
  renderBuiltUrl(filename, _ref) {
135
134
  let hostType = _ref.hostType;
136
135
  if (hostType === 'html') {
137
- return "__CDN_URL__".concat(filename);
136
+ return `__CDN_URL__${filename}`;
138
137
  }
139
138
  return {
140
- runtime: "window.__toCdnUrl(".concat(_JSON$stringify__default["default"](filename), ")")
139
+ runtime: `window.__toCdnUrl(${_JSON$stringify__default["default"](filename)})`
141
140
  };
142
141
  }
143
142
  },
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vendorsToTranspile = require('./vendors-to-transpile-6ab4ea06.cjs.dev.js');
6
6
 
7
7
  // NOTE: This string will be replaced on build time with the package version.
8
- var version = "22.30.3";
8
+ var version = "22.32.0";
9
9
 
10
10
  // These exports are deprecated.
11
11
 
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var vendorsToTranspile = require('./vendors-to-transpile-04a49d40.cjs.prod.js');
6
6
 
7
7
  // NOTE: This string will be replaced on build time with the package version.
8
- var version = "22.30.3";
8
+ var version = "22.32.0";
9
9
 
10
10
  // These exports are deprecated.
11
11
 
@@ -1,7 +1,7 @@
1
1
  export { v as vendorsToTranspile } from './vendors-to-transpile-7dc84a72.esm.js';
2
2
 
3
3
  // NOTE: This string will be replaced on build time with the package version.
4
- var version = "22.30.3";
4
+ var version = "22.32.0";
5
5
 
6
6
  // These exports are deprecated.
7
7
 
@@ -1,9 +1,8 @@
1
- import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat';
2
1
  import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringify';
3
2
  import fs from 'fs';
4
3
  import chalk from 'chalk';
5
4
  import { compileHtml } from '@commercetools-frontend/mc-html-template';
6
- import { p as paths } from './paths-7bf7e88e.esm.js';
5
+ import { p as paths } from './paths-39f22b8b.esm.js';
7
6
  import '@babel/runtime-corejs3/core-js-stable/instance/find';
8
7
  import 'path';
9
8
  import './does-file-exist-32618334.esm.js';
@@ -24,8 +23,7 @@ async function run(options) {
24
23
  const transformerFn = require(transformerPath);
25
24
  transformerFn(compiled);
26
25
  } catch (error) {
27
- var _context;
28
- throw new Error(_concatInstanceProperty(_context = "Could not load transformer module \"".concat(options.transformer, "\"\n")).call(_context, error instanceof Error ? error.stack : ''));
26
+ throw new Error(`Could not load transformer module "${options.transformer}"\n${error instanceof Error ? error.stack : ''}`);
29
27
  }
30
28
  } else if (options.printSecurityHeaders) {
31
29
  console.log(_JSON$stringify(compiled.headers));
@@ -1,11 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
4
3
  var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
5
4
  var fs = require('fs');
6
5
  var chalk = require('chalk');
7
6
  var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
8
- var paths = require('./paths-af1a725a.cjs.prod.js');
7
+ var paths = require('./paths-7768b440.cjs.prod.js');
9
8
  require('@babel/runtime-corejs3/core-js-stable/instance/find');
10
9
  require('path');
11
10
  require('./does-file-exist-be53305d.cjs.prod.js');
@@ -13,7 +12,6 @@ require('node:fs');
13
12
 
14
13
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
15
14
 
16
- var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty);
17
15
  var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
18
16
  var fs__default = /*#__PURE__*/_interopDefault(fs);
19
17
  var chalk__default = /*#__PURE__*/_interopDefault(chalk);
@@ -33,8 +31,7 @@ async function run(options) {
33
31
  const transformerFn = require(transformerPath);
34
32
  transformerFn(compiled);
35
33
  } catch (error) {
36
- var _context;
37
- throw new Error(_concatInstanceProperty__default["default"](_context = "Could not load transformer module \"".concat(options.transformer, "\"\n")).call(_context, error instanceof Error ? error.stack : ''));
34
+ throw new Error(`Could not load transformer module "${options.transformer}"\n${error instanceof Error ? error.stack : ''}`);
38
35
  }
39
36
  } else if (options.printSecurityHeaders) {
40
37
  console.log(_JSON$stringify__default["default"](compiled.headers));
@@ -1,11 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var _concatInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/concat');
4
3
  var _JSON$stringify = require('@babel/runtime-corejs3/core-js-stable/json/stringify');
5
4
  var fs = require('fs');
6
5
  var chalk = require('chalk');
7
6
  var mcHtmlTemplate = require('@commercetools-frontend/mc-html-template');
8
- var paths = require('./paths-ec3e3a7d.cjs.dev.js');
7
+ var paths = require('./paths-b76fc753.cjs.dev.js');
9
8
  require('@babel/runtime-corejs3/core-js-stable/instance/find');
10
9
  require('path');
11
10
  require('./does-file-exist-eb86baca.cjs.dev.js');
@@ -13,7 +12,6 @@ require('node:fs');
13
12
 
14
13
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
15
14
 
16
- var _concatInstanceProperty__default = /*#__PURE__*/_interopDefault(_concatInstanceProperty);
17
15
  var _JSON$stringify__default = /*#__PURE__*/_interopDefault(_JSON$stringify);
18
16
  var fs__default = /*#__PURE__*/_interopDefault(fs);
19
17
  var chalk__default = /*#__PURE__*/_interopDefault(chalk);
@@ -33,8 +31,7 @@ async function run(options) {
33
31
  const transformerFn = require(transformerPath);
34
32
  transformerFn(compiled);
35
33
  } catch (error) {
36
- var _context;
37
- throw new Error(_concatInstanceProperty__default["default"](_context = "Could not load transformer module \"".concat(options.transformer, "\"\n")).call(_context, error instanceof Error ? error.stack : ''));
34
+ throw new Error(`Could not load transformer module "${options.transformer}"\n${error instanceof Error ? error.stack : ''}`);
38
35
  }
39
36
  } else if (options.printSecurityHeaders) {
40
37
  console.log(_JSON$stringify__default["default"](compiled.headers));