@timber-js/app 0.2.0-alpha.127 → 0.2.0-alpha.128

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/index.js CHANGED
@@ -5512,6 +5512,7 @@ function timberFonts(ctx) {
5512
5512
  resolveId(id) {
5513
5513
  let cleanId = id.startsWith("\0") ? id.slice(1) : id;
5514
5514
  const qIdx = cleanId.indexOf("?");
5515
+ const query = qIdx !== -1 ? cleanId.slice(qIdx) : "";
5515
5516
  if (qIdx !== -1) cleanId = cleanId.slice(0, qIdx);
5516
5517
  if (cleanId.startsWith(ctx.root)) {
5517
5518
  const stripped = cleanId.slice(ctx.root.length);
@@ -5520,7 +5521,7 @@ function timberFonts(ctx) {
5520
5521
  }
5521
5522
  if (cleanId === "@timber/fonts/google") return RESOLVED_GOOGLE;
5522
5523
  if (cleanId === "@timber/fonts/local") return RESOLVED_LOCAL;
5523
- if (pipeline.cssIdMap.matches(cleanId)) return "\0" + cleanId;
5524
+ if (pipeline.cssIdMap.matches(cleanId)) return "\0" + cleanId + query;
5524
5525
  return null;
5525
5526
  },
5526
5527
  async load(id) {