Jacky Zhao
2023-08-07 075ac33474d5d439b01daf5392738a3ea810b86d
quartz/build.ts
@@ -4,14 +4,14 @@
    // source map hack to get around query param
    // import cache busting
    if (source.includes(".quartz-cache")) {
      let realSource = fileURLToPath(source.split("?", 2)[0] + '.map')
      let realSource = fileURLToPath(source.split("?", 2)[0] + ".map")
      return {
        map: fs.readFileSync(realSource, 'utf8')
        map: fs.readFileSync(realSource, "utf8"),
      }
    } else {
      return null
    }
  }
  },
})
import path from "path"