Skip to content

fix: filter 'template.js' in lynx#1410

Merged
yifancong merged 3 commits intomainfrom
fix/treemap-duplicate-problem
Nov 18, 2025
Merged

fix: filter 'template.js' in lynx#1410
yifancong merged 3 commits intomainfrom
fix/treemap-duplicate-problem

Conversation

@yifancong
Copy link
Contributor

Summary

fix: filter 'template.js' in lynx

Related Links

@netlify
Copy link

netlify bot commented Nov 18, 2025

Deploy Preview for rsdoctor ready!

Name Link
🔨 Latest commit c946325
🔍 Latest deploy log https://app.netlify.com/projects/rsdoctor/deploys/691c1828f796710009ab86f3
😎 Deploy Preview https://deploy-preview-1410--rsdoctor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces filtering logic to exclude template.js files from bundle data when the config name is "lynx" (Rspeedy framework), and modifies the TypeScript build script to force rebuilds by removing the incremental build cache.

  • Adds lynx-specific filtering to exclude template.js assets from bundle summaries
  • Loads config data in the GetSummaryBundles API endpoint
  • Modifies build script to remove TypeScript build info before compilation

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
packages/utils/src/common/data/index.ts Adds config loading and lynx-specific filtering to exclude template.js files from asset bundles
packages/types/package.json Updates build script to remove tsconfig.tsbuildinfo before TypeScript compilation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@yifancong yifancong merged commit 082354f into main Nov 18, 2025
7 checks passed
@yifancong yifancong deleted the fix/treemap-duplicate-problem branch November 18, 2025 07:04
yifancong added a commit that referenced this pull request Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants