Jacky Zhao
2023-08-06 db6054a8c19703345cfdd6dd4a08f35986c14acc
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"