@newlogic-digital/core 3.0.0-next.1 → 3.0.0-next.3
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +2 -1
- 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:
|
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.
|
4
|
+
"version": "3.0.0-next.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",
|
@@ -12,21 +12,23 @@
|
|
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-
|
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.
|
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
|
-
"
|
26
|
-
"
|
27
|
-
"
|
28
|
-
"fs-extra": "^11.2.0",
|
29
|
-
"picocolors": "^1.0.1"
|
29
|
+
"vituum": "^1.1.1",
|
30
|
+
"browserslist": "^4.23.3",
|
31
|
+
"browserslist-to-esbuild": "^2.1.1"
|
30
32
|
},
|
31
33
|
"devDependencies": {
|
32
34
|
"@types/node": "^22.2.0",
|