Skip to content

fix: prevent loading .map files and disable source maps in production#384

Merged
vinitkumar merged 1 commit intodevelopfrom
upgrade-to-tailwind-and-vanilla-js
Jan 2, 2026
Merged

fix: prevent loading .map files and disable source maps in production#384
vinitkumar merged 1 commit intodevelopfrom
upgrade-to-tailwind-and-vanilla-js

Conversation

@vinitkumar
Copy link
Owner

@vinitkumar vinitkumar commented Jan 2, 2026

  • Filter dynamic model loading to only load .js/.ts files, skip .map and .d.ts
  • Add tsconfig.prod.json with sourceMap disabled for production builds
  • Update build script to use production config
  • Add buildCommand to vercel.json for proper Vercel deployment

Description

Issue Addressed (if applicable)

Issue number being fixed (Format: Fixes #xxx)

Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Screenshots (if applicable):


This change is Reviewable

- Filter dynamic model loading to only load .js/.ts files, skip .map and .d.ts
- Add tsconfig.prod.json with sourceMap disabled for production builds
- Update build script to use production config
- Add buildCommand to vercel.json for proper Vercel deployment
@vercel
Copy link

vercel bot commented Jan 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
node-twitter Ready Ready Preview, Comment Jan 2, 2026 9:58am

@vinitkumar vinitkumar merged commit ad26a7f into develop Jan 2, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant