@newlogic-digital/core 4.0.0 → 4.0.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.
Files changed (2) hide show
  1. package/index.js +4 -0
  2. package/package.json +3 -1
package/index.js CHANGED
@@ -97,6 +97,10 @@ const plugin = async (options = {}) => {
97
97
  const tailwindcss = (await import('@tailwindcss/vite')).default
98
98
 
99
99
  optionalPlugins.push(tailwindcss(options.tailwindcss))
100
+
101
+ if (!fs.existsSync(resolve(process.cwd(), 'src/+.css'))) {
102
+ fs.writeFileSync(resolve(process.cwd(), 'src/+.css'), '@import "./styles/main.css";')
103
+ }
100
104
  }
101
105
 
102
106
  if (options.cssInline.paths.length > 0) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@newlogic-digital/core",
3
3
  "type": "module",
4
- "version": "4.0.0",
4
+ "version": "4.0.1",
5
5
  "main": "index.js",
6
6
  "bin": {
7
7
  "newlogic-core": "./bin/newlogic-core.js"
@@ -46,7 +46,9 @@
46
46
  }
47
47
  },
48
48
  "devDependencies": {
49
+ "@tailwindcss/vite": "^4.2.2",
49
50
  "@types/node": "^25.5",
51
+ "@vituum/vite-plugin-twig": "^2.0.1",
50
52
  "rolldown": "^1.0.0-rc.10",
51
53
  "typescript": "^5"
52
54
  },