@_tc/template-core 0.0.1-bate.25 → 0.0.1-bate.26

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.
@@ -200,6 +200,7 @@ const VBuildFE = async (input) => {
200
200
  // 根据入口构建
201
201
  await (0, vite_1.build)({
202
202
  configFile: false,
203
+ base: 'dist',
203
204
  plugins: [
204
205
  (await Promise.resolve().then(() => __importStar(require("@vitejs/plugin-react")))).default(),
205
206
  flattenHtmlPlugin(".tpl"),
@@ -158,6 +158,7 @@ export const VBuildFE = async (input) => {
158
158
  // 根据入口构建
159
159
  await build({
160
160
  configFile: false,
161
+ base: 'dist',
161
162
  plugins: [
162
163
  (await import("@vitejs/plugin-react")).default(),
163
164
  flattenHtmlPlugin(".tpl"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@_tc/template-core",
3
- "version": "0.0.1-bate.25",
3
+ "version": "0.0.1-bate.26",
4
4
  "description": "A TypeScript Koa framework template - Monorepo root",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",