@danielx/civet 0.6.54 → 0.6.56

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/dist/esbuild.js CHANGED
@@ -280,7 +280,7 @@ var civetUnplugin = (0, import_unplugin.createUnplugin)((options = {}) => {
280
280
  }
281
281
  }
282
282
  }
283
- const jsonSourceMap = typeof compiled.sourceMap == "string" ? compiled.sourceMap : compiled.sourceMap.json(
283
+ const jsonSourceMap = typeof compiled.sourceMap == "string" ? JSON.parse(compiled.sourceMap) : compiled.sourceMap.json(
284
284
  import_path.default.basename(id.replace(/\.[jt]sx$/, "")),
285
285
  import_path.default.basename(id)
286
286
  );