@genesislcap/vite-builder 14.367.0 → 14.367.2-alpha-b582ca5.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/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -4
- package/package.json +3 -3
- package/src/index.ts +6 -4
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAc3D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;yBAEmB,KAAK,YAAY;AAAvC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAc3D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;yBAEmB,KAAK,YAAY;AAAvC,wBAuJE"}
|
package/dist/index.js
CHANGED
|
@@ -104,10 +104,12 @@ exports.default = (ctx) => tslib_1.__awaiter(void 0, void 0, void 0, function* (
|
|
|
104
104
|
define,
|
|
105
105
|
build: {
|
|
106
106
|
minify: false,
|
|
107
|
-
lib:
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
107
|
+
lib: isDev
|
|
108
|
+
? {
|
|
109
|
+
entry: 'src/index.ts',
|
|
110
|
+
formats: ['es'],
|
|
111
|
+
}
|
|
112
|
+
: undefined,
|
|
111
113
|
},
|
|
112
114
|
root: cwd,
|
|
113
115
|
optimizeDeps: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/vite-builder",
|
|
3
3
|
"description": "Vite builder",
|
|
4
|
-
"version": "14.367.0",
|
|
4
|
+
"version": "14.367.2-alpha-b582ca5.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"dev": "tsc -b ./tsconfig.json -w"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@genesislcap/build-kit": "14.367.0",
|
|
17
|
+
"@genesislcap/build-kit": "14.367.2-alpha-b582ca5.0",
|
|
18
18
|
"consola": "^3.0.2",
|
|
19
19
|
"copyfiles": "^2.4.1",
|
|
20
20
|
"vite": "^7.2.2",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "7ee63b4a30ab3948da300fa6c78e0c296f696433"
|
|
32
32
|
}
|
package/src/index.ts
CHANGED
|
@@ -134,10 +134,12 @@ export default async (ctx: BuildContext) => {
|
|
|
134
134
|
define,
|
|
135
135
|
build: {
|
|
136
136
|
minify: false,
|
|
137
|
-
lib:
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
137
|
+
lib: isDev
|
|
138
|
+
? {
|
|
139
|
+
entry: 'src/index.ts',
|
|
140
|
+
formats: ['es'],
|
|
141
|
+
}
|
|
142
|
+
: undefined,
|
|
141
143
|
},
|
|
142
144
|
root: cwd,
|
|
143
145
|
optimizeDeps: {
|