@vixt/core 0.5.2 → 0.5.4

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.
@@ -150,7 +150,7 @@ const config = defineVixtModule({
150
150
  name: name$1,
151
151
  enforce: "pre",
152
152
  config(config2) {
153
- const { rootDir, buildDir, srcDir } = vixt.options;
153
+ const { rootDir, buildDir, srcDir, app } = vixt.options;
154
154
  const defaultAlias = {
155
155
  "@": srcDir,
156
156
  "~": srcDir,
@@ -169,6 +169,7 @@ const config = defineVixtModule({
169
169
  );
170
170
  return {
171
171
  root: rootDir,
172
+ base: app?.baseURL,
172
173
  resolve: {
173
174
  alias: defaultAlias
174
175
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixt/core",
3
3
  "type": "module",
4
- "version": "0.5.2",
4
+ "version": "0.5.4",
5
5
  "author": "SoulLyoko<https://github.com/SoulLyoko>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://soullyoko.github.io/vixt/",
@@ -42,8 +42,8 @@
42
42
  "pathe": "^2.0.3",
43
43
  "pkg-types": "^2.2.0",
44
44
  "tsx": "^4.20.3",
45
- "vite": "^7.0.2",
46
- "vite-plugin-checker": "^0.9.3"
45
+ "vite": "^7.0.3",
46
+ "vite-plugin-checker": "^0.10.0"
47
47
  },
48
48
  "scripts": {
49
49
  "build": "unbuild",