@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 +13 -10
- package/dist/index.js.map +1 -1
- package/dist/loader.js +8 -3
- package/dist/loader.js.map +1 -1
- package/package.json +13 -13
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
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
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 }) {
|