@genesislcap/vite-builder 14.192.2-publicpath.1 → 14.192.3-alpha-1303ae2.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.
@@ -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;8BAEwB,YAAY;AAAvC,wBAqJE"}
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;8BAEwB,YAAY;AAAvC,wBAoJE"}
package/dist/index.js CHANGED
@@ -32,7 +32,6 @@ const handlebars_1 = require("./handlebars");
32
32
  * This has the added benefit of aligning with the current production app builds.
33
33
  */
34
34
  exports.default = (ctx) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
35
- var _a;
36
35
  const { config: { app: { rootElement }, env, http, }, dirs: { cwd }, cli: { isDev, isBuild, isAnalyze, options: { open, https }, }, pkg: { description }, resolve: { alias }, } = ctx;
37
36
  const define = (0, build_kit_1.resolveDefineConfig)(env, http, 'vite');
38
37
  const handlebars = yield (0, handlebars_1.getHandlebarsModule)();
@@ -143,7 +142,7 @@ exports.default = (ctx) => tslib_1.__awaiter(void 0, void 0, void 0, function* (
143
142
  port: (0, build_kit_1.getPort)(ctx.pkg),
144
143
  proxy: (0, build_kit_1.createDevProxies)(),
145
144
  https: https ? (0, build_kit_1.getDevCertOptions)() : undefined,
146
- }, base: (_a = process.env.DEV_PUBLIC_PATH) !== null && _a !== void 0 ? _a : '/' }));
145
+ } }));
147
146
  yield server.listen();
148
147
  server.printUrls();
149
148
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/vite-builder",
3
3
  "description": "Vite builder",
4
- "version": "14.192.2-publicpath.1",
4
+ "version": "14.192.3-alpha-1303ae2.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.192.2-publicpath.1",
17
+ "@genesislcap/build-kit": "14.192.3-alpha-1303ae2.0",
18
18
  "consola": "^3.0.2",
19
19
  "copyfiles": "^2.4.1",
20
20
  "tslib": "^2.3.1",
@@ -33,5 +33,5 @@
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
- "gitHead": "165c9d37df321541fb2ed9091af9e6bdd17261b2"
36
+ "gitHead": "a3a2aa25079aae6722a6f7039dcc3abc862b90dc"
37
37
  }
package/src/index.ts CHANGED
@@ -177,7 +177,6 @@ export default async (ctx: BuildContext) => {
177
177
  proxy: createDevProxies(),
178
178
  https: https ? getDevCertOptions() : undefined,
179
179
  },
180
- base: process.env.DEV_PUBLIC_PATH ?? '/',
181
180
  });
182
181
  await server.listen();
183
182
  server.printUrls();