@rspress/core 1.8.3 → 1.8.4

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/index.js CHANGED
@@ -4922,16 +4922,19 @@ async function createInternalBuildConfig(userDocRoot, config, isSSR, routeServic
4922
4922
  tools: {
4923
4923
  postcss(config2) {
4924
4924
  if (isDebugMode()) {
4925
- config2.postcssOptions.plugins.push(
4926
- __require("tailwindcss")({
4927
- config: {
4928
- ...tailwindConfig,
4929
- content: [
4930
- path10.join(PACKAGE_ROOT, "src", "theme-default", "**/*")
4931
- ]
4932
- }
4933
- })
4934
- );
4925
+ try {
4926
+ config2.postcssOptions.plugins.push(
4927
+ __require("tailwindcss")({
4928
+ config: {
4929
+ ...tailwindConfig,
4930
+ content: [
4931
+ path10.join(PACKAGE_ROOT, "src", "theme-default", "**/*")
4932
+ ]
4933
+ }
4934
+ })
4935
+ );
4936
+ } catch (e) {
4937
+ }
4935
4938
  }
4936
4939
  },
4937
4940
  bundlerChain(chain, { CHAIN_ID }) {