@newlogic-digital/core 2.1.1 → 2.1.3

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 +6 -4
  2. package/package.json +7 -8
package/index.js CHANGED
@@ -178,14 +178,16 @@ const plugin = (options = {}) => {
178
178
  emptyOutDir: false,
179
179
  modulePreload: false,
180
180
  assetsInlineLimit: 0,
181
- outDir,
182
- rollupOptions: {
183
- input: defaultInput
184
- }
181
+ outDir
185
182
  }, userConfig.build ?? {})
186
183
 
184
+ userConfig.build.rollupOptions = Object.assign({
185
+ input: defaultInput
186
+ }, userConfig.build.rollupOptions ?? {})
187
+
187
188
  userConfig.server = Object.assign({
188
189
  host: true,
190
+ cors: true,
189
191
  fsServe: {
190
192
  strict: false
191
193
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@newlogic-digital/core",
3
3
  "type": "module",
4
- "version": "2.1.1",
4
+ "version": "2.1.3",
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",
@@ -24,15 +24,15 @@
24
24
  "html-minifier-terser": "^7.2.0",
25
25
  "lodash": "^4.17.21",
26
26
  "fast-glob": "^3.3.2",
27
- "fs-extra": "^11.1.1",
27
+ "fs-extra": "^11.2.0",
28
28
  "picocolors": "^1.0.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@types/node": "^20.9.1",
32
- "eslint": "^8.53.0",
31
+ "@types/node": "^20.11.24",
32
+ "eslint": "^8.57.0",
33
33
  "eslint-config-standard": "^17.1.0",
34
- "typescript": "^5.2.2",
35
- "vite": "^5.0.0"
34
+ "typescript": "^5.3.3",
35
+ "vite": "^5.1.5"
36
36
  },
37
37
  "files": [
38
38
  "latte",
@@ -45,8 +45,7 @@
45
45
  "./types": "./types/*"
46
46
  },
47
47
  "engines": {
48
- "node": ">=16.0.0",
49
- "npm": ">=8.0.0"
48
+ "node": "^18.0.0 || >=20.0.0"
50
49
  },
51
50
  "repository": {
52
51
  "type": "git",