jeasx 1.8.5 → 1.9.0
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.
- package/esbuild.config.js +4 -8
- package/package.json +5 -5
package/esbuild.config.js
CHANGED
|
@@ -17,14 +17,12 @@ const BROWSER_PUBLIC_ENV = Object.keys(process.env)
|
|
|
17
17
|
|
|
18
18
|
const ESBUILD_BROWSER_TARGET = process.env.ESBUILD_BROWSER_TARGET
|
|
19
19
|
? process.env.ESBUILD_BROWSER_TARGET.replace(/\s/g, "").split(",")
|
|
20
|
-
: ["
|
|
20
|
+
: ["chrome130", "edge130", "firefox130", "safari18"];
|
|
21
21
|
|
|
22
22
|
/** @type esbuild.BuildOptions[] */
|
|
23
23
|
const buildOptions = [
|
|
24
24
|
{
|
|
25
|
-
entryPoints: ["js", "ts", "jsx", "tsx"].map(
|
|
26
|
-
(ext) => `src/routes/**/[*].${ext}`
|
|
27
|
-
),
|
|
25
|
+
entryPoints: ["js", "ts", "jsx", "tsx"].map((ext) => `src/**/[*].${ext}`),
|
|
28
26
|
define: {
|
|
29
27
|
"process.env.BUILD_TIME": BUILD_TIME,
|
|
30
28
|
},
|
|
@@ -37,14 +35,13 @@ const buildOptions = [
|
|
|
37
35
|
bundle: true,
|
|
38
36
|
sourcemap: process.sourceMapsEnabled,
|
|
39
37
|
sourcesContent: false,
|
|
40
|
-
|
|
41
|
-
outdir: "dist",
|
|
38
|
+
outdir: "dist/routes",
|
|
42
39
|
platform: "neutral",
|
|
43
40
|
packages: "external",
|
|
44
41
|
},
|
|
45
42
|
{
|
|
46
43
|
entryPoints: ["js", "ts", "jsx", "tsx", "css"].map(
|
|
47
|
-
(ext) => `src
|
|
44
|
+
(ext) => `src/**/index.${ext}`
|
|
48
45
|
),
|
|
49
46
|
define: BROWSER_PUBLIC_ENV,
|
|
50
47
|
minify: process.env.NODE_ENV !== "development",
|
|
@@ -56,7 +53,6 @@ const buildOptions = [
|
|
|
56
53
|
bundle: true,
|
|
57
54
|
sourcemap: process.sourceMapsEnabled,
|
|
58
55
|
sourcesContent: true,
|
|
59
|
-
outbase: "src/browser",
|
|
60
56
|
outdir: "dist/browser",
|
|
61
57
|
platform: "browser",
|
|
62
58
|
format: "esm",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jeasx",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Jeasx - the ease of JSX with the power of SSR",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jsx",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@fastify/cookie": "11.0.2",
|
|
28
28
|
"@fastify/formbody": "8.0.2",
|
|
29
|
-
"@fastify/multipart": "9.
|
|
29
|
+
"@fastify/multipart": "9.2.1",
|
|
30
30
|
"@fastify/static": "8.2.0",
|
|
31
|
-
"@types/node": "22.
|
|
32
|
-
"esbuild": "0.25.
|
|
33
|
-
"fastify": "5.
|
|
31
|
+
"@types/node": "22.18.6",
|
|
32
|
+
"esbuild": "0.25.10",
|
|
33
|
+
"fastify": "5.6.1",
|
|
34
34
|
"jsx-async-runtime": "1.0.4"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|