@newlogic-digital/core 3.0.0-next.1 → 3.0.0-next.2

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 +2 -1
  2. package/package.json +12 -10
package/index.js CHANGED
@@ -15,6 +15,7 @@ import twigOptions from './src/twig.js'
15
15
  import FastGlob from 'fast-glob'
16
16
  import fse from 'fs-extra'
17
17
  import pc from 'picocolors'
18
+ import browserslistToEsbuild from 'browserslist-to-esbuild'
18
19
 
19
20
  const { name } = getPackageInfo(import.meta.url)
20
21
 
@@ -179,7 +180,7 @@ const plugin = (options = {}) => {
179
180
  }, userConfig.optimizeDeps ?? {})
180
181
 
181
182
  userConfig.build = Object.assign({
182
- target: ['edge111', 'firefox111', 'chrome111', 'safari16'],
183
+ target: browserslistToEsbuild(),
183
184
  manifest: 'manifest.json',
184
185
  emptyOutDir: false,
185
186
  modulePreload: false,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@newlogic-digital/core",
3
3
  "type": "module",
4
- "version": "3.0.0-next.1",
4
+ "version": "3.0.0-next.2",
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",
@@ -12,24 +12,26 @@
12
12
  "publish-next": "npm publish --tag next"
13
13
  },
14
14
  "dependencies": {
15
- "@vituum/vite-plugin-posthtml": "^1.1.0",
16
15
  "@vituum/vite-plugin-juice": "^1.2.0",
17
16
  "@vituum/vite-plugin-latte": "^1.2.1",
18
- "@vituum/vite-plugin-twig": "^1.1.0",
19
- "@vituum/vite-plugin-tailwindcss": "^1.1.0",
17
+ "@vituum/vite-plugin-posthtml": "^1.1.0",
20
18
  "@vituum/vite-plugin-send": "^1.1.0",
21
- "vituum": "^1.1.1",
19
+ "@vituum/vite-plugin-tailwindcss": "^1.1.0",
20
+ "@vituum/vite-plugin-twig": "^1.1.0",
21
+ "fast-glob": "^3.3.2",
22
+ "fs-extra": "^11.2.0",
23
+ "html-minifier-terser": "^7.2.0",
24
+ "lodash": "^4.17.21",
25
+ "picocolors": "^1.0.1",
22
26
  "posthtml": "^0.16.6",
23
27
  "posthtml-prism": "^2.0.1",
24
28
  "prismjs": "^1.29.0",
25
- "html-minifier-terser": "^7.2.0",
26
- "lodash": "^4.17.21",
27
- "fast-glob": "^3.3.2",
28
- "fs-extra": "^11.2.0",
29
- "picocolors": "^1.0.1"
29
+ "vituum": "^1.1.1"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^22.2.0",
33
+ "browserslist": "^4.23.3",
34
+ "browserslist-to-esbuild": "^2.1.1",
33
35
  "eslint": "^9.9.0",
34
36
  "neostandard": "^0.11.2",
35
37
  "typescript": "^5.5.4",