extension-develop 3.10.0 → 3.10.1

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/dist/270.cjs CHANGED
@@ -1576,7 +1576,7 @@ exports.modules = {
1576
1576
  }
1577
1577
  plugin_compilation_define_property(CompilationPlugin, "name", 'plugin-compilation');
1578
1578
  var css_lib_messages = __webpack_require__("./webpack/plugin-css/css-lib/messages.ts");
1579
- var css_lib_integrations = __webpack_require__("./webpack/plugin-css/css-lib/integrations.ts");
1579
+ var optional_deps_lib = __webpack_require__("./webpack/optional-deps-lib/index.ts");
1580
1580
  var sass = __webpack_require__("./webpack/plugin-css/css-tools/sass.ts");
1581
1581
  var less = __webpack_require__("./webpack/plugin-css/css-tools/less.ts");
1582
1582
  function getStylelintConfigFile(projectPath) {
@@ -1801,8 +1801,8 @@ exports.modules = {
1801
1801
  const projectPath = compiler.options.context || process.cwd();
1802
1802
  const plugins = [];
1803
1803
  const manifestPath = this.manifestPath;
1804
- const usingSass = (0, css_lib_integrations.ws)(projectPath, 'sass');
1805
- const usingLess = (0, css_lib_integrations.ws)(projectPath, 'less');
1804
+ const usingSass = (0, optional_deps_lib.ws)(projectPath, 'sass');
1805
+ const usingLess = (0, optional_deps_lib.ws)(projectPath, 'less');
1806
1806
  const maybeInstallStylelint = await maybeUseStylelint(projectPath);
1807
1807
  plugins.push(...maybeInstallStylelint);
1808
1808
  const maybeInstallSass = await (0, sass.IZ)(projectPath);
@@ -1845,8 +1845,8 @@ exports.modules = {
1845
1845
  ].filter(Boolean);
1846
1846
  if ('true' === process.env.EXTENSION_AUTHOR_MODE) {
1847
1847
  const integrations = [];
1848
- const usingTailwind = (0, css_lib_integrations.ws)(projectPath, 'tailwindcss');
1849
- const usingPostcss = (0, css_lib_integrations.ws)(projectPath, 'postcss') || void 0 !== findPostCssConfig(projectPath) || usingSass || usingLess || usingTailwind;
1848
+ const usingTailwind = (0, optional_deps_lib.ws)(projectPath, 'tailwindcss');
1849
+ const usingPostcss = (0, optional_deps_lib.ws)(projectPath, 'postcss') || void 0 !== findPostCssConfig(projectPath) || usingSass || usingLess || usingTailwind;
1850
1850
  if (usingPostcss) integrations.push('PostCSS');
1851
1851
  if (usingSass) integrations.push('Sass');
1852
1852
  if (usingLess) integrations.push('Less');