@plutocms/core 0.44.0 → 0.44.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/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## [0.44.1](https://github.com/plutocms/pluto/compare/v0.44.0...v0.44.1) (2026-11-01)
5
+
6
+
7
+ ### Bug Fixes
8
+
9
+ * write the fallback CSS entry only when the app has no Tailwind entry ([#342](https://github.com/plutocms/pluto/issues/342)) ([52e5916](https://github.com/plutocms/pluto/commit/52e59160b496ad6bf64a833cb51b6867723a22d6))
10
+
4
11
  ## [0.44.0](https://github.com/plutocms/pluto/compare/v0.43.0...v0.44.0) (2026-11-01)
5
12
 
6
13
 
@@ -88,12 +88,6 @@ export default defineNuxtModule<PlutoCssOptions>({
88
88
  'pluto.css'
89
89
  )
90
90
 
91
- addTemplate({
92
- filename: 'pluto-entry.css',
93
- write: true,
94
- getContents: renderPlutoEntryCss,
95
- })
96
-
97
91
  const entries = []
98
92
  for (const entry of nuxt.options.css) {
99
93
  const file =
@@ -120,7 +114,15 @@ export default defineNuxtModule<PlutoCssOptions>({
120
114
  .filter((root) => root !== appRoot)
121
115
  const report = checkCssSetup(entries, layerRoots)
122
116
 
117
+ // Only an app with no Tailwind entry gets the fallback file. In an app with
118
+ // its own entry, the file would be a second Tailwind entry on disk, and
119
+ // Tailwind IntelliSense could take it for the app's design system.
123
120
  if (report.injectFallback) {
121
+ addTemplate({
122
+ filename: 'pluto-entry.css',
123
+ write: true,
124
+ getContents: renderPlutoEntryCss,
125
+ })
124
126
  nuxt.options.css.push('#build/pluto-entry.css')
125
127
  if (!nuxt.options._prepare) {
126
128
  logger.info(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@plutocms/core",
3
3
  "type": "module",
4
- "version": "0.44.0",
4
+ "version": "0.44.1",
5
5
  "description": "The base layer every Pluto app extends: the admin, the content model, and the Git CMS",
6
6
  "author": "Victor Ribeiro",
7
7
  "license": "MIT",