@newlogic-digital/core 2.0.3 → 2.0.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.
Files changed (2) hide show
  1. package/index.js +3 -1
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -147,7 +147,9 @@ const plugin = (options = {}) => {
147
147
  './src/styles/*.{css,pcss,scss,sass,less,styl,stylus}',
148
148
  './src/scripts/*.{js,ts,mjs}'
149
149
  ]
150
- } else {
150
+ }
151
+
152
+ if (userEnv.command === 'build') {
151
153
  userConfig.publicDir = userConfig.publicDir ?? false
152
154
  }
153
155
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@newlogic-digital/core",
3
3
  "type": "module",
4
- "version": "2.0.3",
4
+ "version": "2.0.4",
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",
@@ -28,11 +28,11 @@
28
28
  "picocolors": "^1.0.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@types/node": "^20.4.5",
31
+ "@types/node": "^20.4.8",
32
32
  "eslint": "^8.46.0",
33
33
  "eslint-config-standard": "^17.1.0",
34
34
  "typescript": "^5.1.6",
35
- "vite": "^4.4.7"
35
+ "vite": "^4.4.9"
36
36
  },
37
37
  "files": [
38
38
  "latte",