methanol 0.0.3 → 0.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "methanol",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Static site generator powered by rEFui and MDX",
5
5
  "main": "./index.js",
6
6
  "type": "module",
@@ -174,7 +174,7 @@ export const runViteBuild = async (entry, htmlCache) => {
174
174
  const baseConfig = {
175
175
  configFile: false,
176
176
  root: state.PAGES_DIR,
177
- base: './',
177
+ base: '/',
178
178
  publicDir: state.STATIC_DIR === false ? false : state.STATIC_DIR,
179
179
  build: {
180
180
  outDir: state.DIST_DIR,
@@ -29,7 +29,7 @@ export const runVitePreview = async () => {
29
29
  const baseConfig = {
30
30
  configFile: false,
31
31
  root: state.PAGES_DIR,
32
- base: './',
32
+ base: '/',
33
33
  build: {
34
34
  outDir: state.DIST_DIR
35
35
  }