@newlogic-digital/core 3.1.0 → 3.1.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 +1 -1
package/index.js CHANGED
@@ -102,6 +102,10 @@ const plugin = async (options = {}) => {
102
102
  }
103
103
 
104
104
  if (options.css.transformer === 'lightningcss') {
105
+ if (!fs.existsSync(resolve(process.cwd(), 'src/+.css'))) {
106
+ fs.writeFileSync(resolve(process.cwd(), 'src/+.css'), '@import "./styles/main.css";')
107
+ }
108
+
105
109
  // @ts-ignore
106
110
  const tailwindcss = (await import('@tailwindcss/vite')).default
107
111
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@newlogic-digital/core",
3
3
  "type": "module",
4
- "version": "3.1.0",
4
+ "version": "3.1.1",
5
5
  "main": "index.js",
6
6
  "author": "New Logic Studio s.r.o.",
7
7
  "description": "Set of tools that can be used to create modern web applications",